Anonymous | Login | Signup for a new account | 12-17-2024 10:45 PST |
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 | ||||
0005232 | [Resin] | major | always | 10-01-12 21:12 | 10-25-12 14:36 | ||||
Reporter | mattp | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.33 | Product Version | 4.0.31 | ||||
Product Build | |||||||||
Summary | 0005232: JSP 2.2 jsp-property-group default-content-type not supported | ||||||||
Description |
The XML accepts the configuration <jsp-config> <jsp-property-group> <url-pattern>*.jspx</url-pattern> <default-content-type>text/html</default-content-type> </jsp-property-group> </jsp-config> but this does not affect the content type of the response. Per the spec: JSP.3.3.9 Declaring Default Content Type The JSP configuration element default-content-type can be used to specify the default contentType property of a group of JSP pages defined using the jsp-property-group element. The valid values for the default-content-type element are those of the contentType attribute of the page directive. It speci&64257;es the default response contentType if the page directive does not include a contentType attribute. |
||||||||
Steps To Reproduce | Add jsp-config to resin-web.xml. Create a simple jspx file and view the output. If the default-content-type were honored, the content would be HTML, not XML. | ||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 27 unique queries executed. |