[jetty-dev] [jira] (JETTY-1547) Jetty does not honor web.xml web-app/jsp-config/jsp-property-group/default-content-type

"Xavier Dury (JIRA)" <[email protected]> Wed, 26 Sep 2012 07:17:35 -0500 (CDT)
Newsgroups gmane.comp.java.jetty.general
Message-ID <1342787972.2369.1348661856223.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
Xavier Dury
created JETTY-1547

Jetty does not honor web.xml web-app/jsp-config/jsp-property-group/default-content-type

Issue Type:

Bug

Affects Versions:

8.1.6

Assignee:

Unassigned

Components:

JSP

Created:

26/Sep/12 7:17 AM

Description:

Setting default-content-type for *.jspx in web.xml does not work:

<jsp-config>

<jsp-property-group>

<url-pattern>*.jspx</url-pattern>

<page-encoding>UTF-8</page-encoding>

<default-content-type>text/html</default-content-type>

</jsp-property-group>

</jsp-config>

My page is still served as text/xml instead of text/html.

Tested on tomcat 7.0.26 which gave the correct result.

Project:

Jetty

Priority:

Major

Reporter:

Xavier Dury

This message is automatically generated by JIRA.

If you think it was sent incorrectly, please contact your JIRA administrators .

For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email