Image « Resource « JSP-Servlet Q&A





1. Access resources (CSS, HTML, images, JS) through servlet    stackoverflow.com

I'd like to know if anyone has a solution to access resources of a website through a servlet only. I have all my resources under WEB-INF. In other words, I don't ...

2. Saving a resource (image etc) relative to application root and using it back in a Servlet / Jsp    stackoverflow.com

I have this use case for which I am generating an image in the getPost method of servlet. I was saving the image in the local file system at /tmp/xyz.jpg and then ...