Does anyone know how to solve this problem?
I am forwarding to a jsp at the end of the each servlet. But once I get to the jsp, it seems that the relative links don't work. I need to put in the full path to get images to appear and to link with other jsp or html pages.
Here is what my directory structure looks like:
c:\webapp\ - all html and jsp files
c:\webapp\web-inf\classes\ - all java classes
Are you using web server along with Application server to serve static pages and images.
Yes, I'm using Tomcat for both
Hello, the solution for your problem is :
<img src="./images/someImage.gif" >
Tell me if it works or not.