Mantis - Resin
|
||||||||||
Viewing Issue Advanced Details | ||||||||||
|
||||||||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | |||||
1392 | minor | always | 10-09-06 05:49 | 12-20-06 20:34 | ||||||
|
||||||||||
Reporter: | sam | Platform: | ||||||||
Assigned To: | ferg | OS: | ||||||||
Priority: | urgent | OS Version: | ||||||||
Status: | closed | Product Version: | 3.0.21 | |||||||
Product Build: | Resolution: | fixed | ||||||||
Projection: | none | |||||||||
ETA: | none | Fixed in Version: | 3.1.0 | |||||||
|
||||||||||
Summary: | 0001392: rewrite-dispatch causes filters to be ignored | |||||||||
Description: |
(rep by M Marich) I have the following mapped in my resin.conf file in order to run my non-war deployed web application: <web-app id='/' document-directory='C:/dev/foo/webapp'> <rewrite-dispatch> <forward regexp="^/myapp/([^\?]*)\??+(.*)$" target="/$1?rootDir=myapp"/> </rewrite-dispatch> </web-app> What I want to do is map multiple paths to this one application. Here is my bug: If I make a request to, say, http://localhost:81/test.jsp, [^] the web application filters are processed, and my jsp is called. If I make a request to, say, http://localhost:81/myapp/test.jsp, [^] the rewrite-dispatch tag correctly parses the url and forwards to the JSP in the root context. However, none of the filters defined in C:/dev/foo/webapp/WEB-INF/web.xml are processed. My filter mappings look like the following: <!-- Root directory filter --> <filter> <filter-name>RootDirFilter</filter-name> <filter-class>com.myco.web.filter.RootDirFilter</filter-class> </filter> <filter-mapping> <filter-name>RootDirFilter</filter-name> <url-pattern>/*.jsp</url-pattern> </filter-mapping> |
|||||||||
Steps To Reproduce: | ||||||||||
Additional Information: | ||||||||||
Relationships |
| |||||||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|