Possible Duplicate:
Browser can't access CSS and images when calling a Servlet which forwards to a JSP
I know this question is asked again and again, but I just couldn't get this to work.
folder structure http://kauko.pingtimeout.net/venttiCap.JPG
I have my images in the WebContent/kuvat/ folder. I also put one of the images directly into the WebContent folder (hertta1.gif). But when I try to use the images like this
<img src="kuvat/hertta1.gif" /> or <img src="hertta1.gif" />
nothing happens. The kuvat/*gif request results in a 404, while the other one is apparently an empty response.
GameServlet is the only Servlet, and it's mapped to '/'. So when using the application I use the address "http://localhost:8080/VenttiWeb/"
I'm using Tomcat7