Look at the url for directly going to the jsp and then look at the url for
going thru the filter. You'll see a context difference there.
Consider using a url rewriting taglib to make life easier. Examples would be
the html taglib and base from jakarta.apache.org
-Tim

-----Original Message-----
From: Parmar, Deepak [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 2:01 PM
To: [EMAIL PROTECTED]
Subject: Image display problem in page when page is forwarded using
RequestDispatcher


Hi

Image display in my logon.jsp page if I  access page directly but image does
not display if my filter forward request to logon.jsp using
ReqeustDispatcher.

Logon.jsp:

<img src="images/logo.jpg">


Filter Class:
In doFilter(....)

        Servletcontext().getRequestDisplatcher("/logon.jsp")

It seems like that problem is with context path but I could not find it.
Deepak

___________________________________________________________________________
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

___________________________________________________________________________
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