title: How to get image absolute path?
body: <p>How to get image path in java ?</p>
  
  <p>I am using eclipse, i want to display the image in jsp,I want to give path like "/images/logo.jpg" but it is getting nullpointer exception when execute the page.</p>
  
  <p>if i give fullpath , it is working like "d:/project/images/logo.jsp".How to get display the image with absolute path ?</p>