Mantis Bugtracker
  

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
has duplicate 0001510closed ferg redirects that go through the <forward> tag do not go through filters 

- Notes
(0001653)
sam
12-14-06 12:57

server/13sn.qa
 
(0001668)
ferg
12-20-06 20:34

server/13s{n,o,p,q}
 

- Issue History
Date Modified Username Field Change
10-09-06 05:49 sam New Issue
12-14-06 12:28 sam Priority normal => urgent
12-14-06 12:29 sam Relationship added has duplicate 0001510
12-14-06 12:57 sam Note Added: 0001653
12-20-06 20:34 ferg Note Added: 0001668
12-20-06 20:34 ferg Assigned To  => ferg
12-20-06 20:34 ferg Status new => closed
12-20-06 20:34 ferg Resolution open => fixed
12-20-06 20:34 ferg Fixed in Version  => 3.1.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed.
29 unique queries executed.
Powered by Mantis Bugtracker