I have encountered a small problem and need your valuable help in overcoming it. Also, I would be obliged if you could kindly let me know, why this problem occurs.
hrms_user_login.jsp -> servlet(authentication checking with db) -> hrms_default.jsp
The problem is, I have placed an image in the images folder. I have included this image in a header.jsp file and I have included header.jsp in the files hrms_user_login.jsp and hrms_default.jsp. The image in header.jsp is displayed in hrms_user_login.jsp, but not in hrms_default.jsp . I wonder why this happens.
Can you please post some code describing how you have included the JSP file and how you are referring to the image ?
It is too early to comment but perhaps the relative URL of your image directory is causing a 404 when you are referring to the image. This is easy to spot in firefox. Right click on the page and click -> View page info. Go to the Media tag and check for broken image links. You can also use a debugger like Firebug to debug your web pages. It is very useful and can save you a lot of time.
You can get around your problem (if that indeed is the problem) by defining a HTML BASE element.