i saw that calling a servlet from a jsp makes the server change its
current directory to servlets directory.
it seems that even if the forward works just fine, if in that jsp u have
relative links to images the images will not be found
u can specify full path for images in your jsp(relavive to server's root
i mean). that should solve your problem.

> DBursenos wrote:
>
> I have a JSP page that posts form data to a servlet.  The servlet then
> processes that data and may do one of several things.  For example, if
> the data is invalid the servlet forwards back to the JSP and the JSP
> indicates to the user what entered information was invalid.
>
> Here's the problem.  After the servlet forwards back to the JSP it
> displays everything correctly except the images.  In fact, the images
> aren't displayed at all.  When I view source of the JSP (without
> images) everything looks fine.  In deed, when I display that very
> source in a browser, it then displays the images.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to