A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
Filter not working with jsp:include
Joined: Jun 28, 2003
Nov 08, 2006 03:33:00
My filter works for direct requests to the web server but not for requests that come from included
For example, I have this filter mapping for a.jsp and b.jsp. In a.jsp, I have included this: <jsp:include page="b.jsp"/>
The filter works for a.jsp but does not work for b.jsp.
I am wondering:
would <dispatcher>INCLUDE</dispatcher> resolve my problem ?
Since this is an included request (not dispatched though).
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
Joined: Oct 16, 2005
Nov 08, 2006 06:05:00
it might help
SCJP 1.4 - 95%
[ My Story ]
- SCWCD 1.4 - 91%
[ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
I agree. Here's the link:
subject: Filter not working with jsp:include
How do servlet mapping in web.xml that the path information is not lost
Difference JSP File & JSP Page
Request parameters not being passed through Filter
<jsp:include TO_ACTION/> do not work on WAS 6.1
Spring security intercept-url question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015