Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5232 | major | always | 10-01-12 21:12 | 10-25-12 14:36 | |
|
|||||
Reporter: | mattp | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.31 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.33 | ||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|