I need to develop an application who will serve as image sharing sort of tool. What i want is to upload all images of users in WEB-INF directory for security purpose, so that the images are not listed by users from URL. But on the same time, i want to display these images on a user specific page. How can i do this?
Second thing, I want to add a filter on images, so that I may track anyone (a website) which request of this image (request for image means user has uploaded image on my site and had given the image link on other site). So if an image is hosted in WEB-INF how can i add filter to it?
I want to do all this but i don't want to use any spring/struts/jsf thing. All i want to use is either
Servlet or
JSP.