Anonymous | Login | Signup for a new account | 12-17-2024 08:38 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001392 | [Resin] | minor | always | 10-09-06 05:49 | 12-20-06 20:34 | ||||
Reporter | sam | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | urgent | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.21 | ||||||
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> |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Relationships | ||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed. 29 unique queries executed. |