title: how to use the image file located in local drive, for printing it in jsp page or servlet page?
body: <p>I want to display the image located in my local drive. I am using sun java app server 8. For example If I generate a file abc.jpg dynamically and store it in c:\abc.jpg, then how could I use it in jsp or servlets? How to display it in the jsp or servlet pages?
  I know giving the path c:\abc.jpg in coding to display image wont work , because it is out of webserver..</p>