I\'m trying to create a small servlet that uploads images and is able to retrieve them in a different page as a slideshow.
I\'m able to save them outside the WebApp
You need to understand how HTTP and HTML work:

tagsSo, you need a servlet or JSP which generates the HTML page, containing all your tags. Each of this tag should have the following form:
And you need a second servlet, mapped to imageServlet, which reads the bytes of the image identified by the imageId parameter value from the file system, and write those bytes to the response output stream.