Reputation: 171
I'm using eclipse and run my jsp/servlet using tomcat6 from eclipse. My servlet creates for me an image that i store in to a directory in my webapps. But when i try to access to this image from my JSP it returns me that the resource is not available.
What's the problem?
Servlet store image in "myapp/images/saved.png"
Upvotes: 0
Views: 2237
Reputation: 5919
You need to move the images
directory into the WebContent
directory. That will make it work.
Upvotes: 2