https://issues.apache.org/bugzilla/show_bug.cgi?id=48608
Summary: welcome-file ignores filter mapping
Product: Tomcat 6
Version: 6.0.20
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: Servlet & JSP API
AssignedTo: [email protected]
ReportedBy: [email protected]
basically this is the same as bug 47378, but for filter mappings.
when a filter mapping should match a file defined as welcome-file entry, it is
ignored when the request URL is a directory.
example:
<filter-mapping>
<filter-name>myFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
a call to http://myDomain/myApp/ will run (or try to run) the JSP without
filter
a call to http://myDomain/myApp/index.jsp will run the filter
thanks,
Manuel
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]