Tim, thanks for replying. Actually I'm currently using html and base taglib from apache.
The problem is in filter mapping. Before all types of request goes to my filter (including image request), after restricting only JSP request image display fine. Deepak -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Chen, Gin Sent: Wednesday, April 10, 2002 2:15 PM To: [EMAIL PROTECTED] Subject: Re: Image display problem in page when page is forwarded using Re questDispatcher 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 ___________________________________________________________________________ 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
