Hi all, I was working on a web-application with Tomacat 4.0. I have placed all the images for the application in a directory called images in the root directory.I want to display the images in an index.jsp file and I have specfied: <img src="images/logo.jpg" width=20 height=20 algn="right"> The rest of the application works fine but none of the images are beig displayed.Some one please help me solve this problem.
Roy Ben Ami
posted 15 years ago
try <img src="/images/yourimage" ..... add a / (slash) before the images to indicate its realtive directory. hope that works.