struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "s k m" <>
Subject Image display problem
Date Sat, 25 Aug 2001 14:18:00 GMT
Hi Friends,

We are facing a problem with image display using JSP. When the page is being displayed for
the first time then the images are being displayed correctly. However when the same page is
being displayed again (after a validation failure) the images are not being displayed. The
same is the problem when other pages are being displayed (e.g. checking logon and moving to
the user page).  Currently our folder structure is


and the image is specified as <img src=images/abc.gif>. We tried moving the images folder
to the root and specifying the path from the root as in /images/abc.gif. However the images
are still not being displayed.

What we have observed is that when the validation fails then the image is accessed from the
path /approot/images whereas in the normal case the image is accessed from /jsp/images.

Does anybody know why this happens ? Any help will be appreciated. 



View raw message