Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001377 [Resin] major always 09-26-06 13:47 05-29-07 18:21
Reporter jbenton View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.17
Summary 0001377: Path resolution problem for files in directories whose names include a mapped extension
Description Hi folks,

We're seeing a problem that is a little hard to describe, but it appears to be a bug in Resin. We're on 3.0.17, open source build.

To summarize, we have a spring web app with a mapping in web.xml of *.htm to a content controller. The jsp views use jstl, and in particular use c:import to include snippet files of static content in the view templates.

In the publishing system that produces the jsp views and content snippet files, we decided to place the snippets that are local to a particular URL in a directory path under WEB-INF that parallels the URL, including the .htm.

For instance- a content snippet called file.snippet for the url /path/about.htm is published to WEB-INF/content/about.htm/file.snippet.

However, we've found that resin returns 404 error messages for the content snippet c:import requests in this case, e.g. when the imported file lives in a directory ending in .htm.

If we move the snippet file out from under the directory with the .htm extension, e.g. to WEB-INF/content/file.snippet, c:import loads it correctly.

Does that make sense?

We've run the identical web app and content snippet tree under tomcat, and all is well there.

Thanks,

Jonah
Additional Information
Attached Files

- Relationships

- Notes
(0001532)
jbenton
10-02-06 09:28

FYI, we're using v1.1.2 of jakarta's jstl.
 
(0001969)
ferg
05-29-07 18:21

server/001v. Added strict-mapping to <servlet-mapping>.
 

- Issue History
Date Modified Username Field Change
09-26-06 13:47 jbenton New Issue
10-02-06 09:28 jbenton Note Added: 0001532
05-29-07 18:21 ferg Note Added: 0001969
05-29-07 18:21 ferg Assigned To  => ferg
05-29-07 18:21 ferg Status new => closed
05-29-07 18:21 ferg Resolution open => fixed
05-29-07 18:21 ferg Fixed in Version  => 3.1.2


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