title: How to uploading an image showing it on the same page?
body: <p>I am working on a JSP project where the user needs to upload an image.
  I need this image to be stored into the database so that it can be retrieved from the database later on. I need to show that image in the webpage itself as soon as the image has been loaded. I have tried several option like <a href="http://www.javazoom.net/jzservlets/uploadbean/documentation/software.html" rel="nofollow">uploadbean</a>, <a href="http://www.roseindia.net/tutorial/spring/spring3/web/spring-3-mvc-fileupload-example.html" rel="nofollow">spring-3-mvc-fileupload-example.html</a>, etc but nothing is working out for me.</p>
  
  <p>Can you please give me a simple but effective way to do this? I am working with MySQL database.</p>