Anonymous | Login | Signup for a new account | 09-07-2024 19:10 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.2 | Product Version | 3.0.17 | ||||
Product Build | |||||||||
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 |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
![]() |
|
(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>. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |