How to get image path in java ?
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.
if i give fullpath , it is working like "d:/project/images/logo.jsp".How to get display the image with absolute path ?