[
http://issues.ops4j.org/browse/PAXWEB-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13523#action_13523
]
Achim Nierbeck commented on PAXWEB-208:
---------------------------------------
I created a branch at github:
http://github.com/ops4j/org.ops4j.pax.web/tree/webSecureContext
this fix is also contained within this branch
> War extender only supports ".jsp" extension for JSPs
> ----------------------------------------------------
>
> Key: PAXWEB-208
> URL: http://issues.ops4j.org/browse/PAXWEB-208
> Project: Pax Web
> Issue Type: Bug
> Components: War Extender
> Affects Versions: 0.7.2
> Reporter: Bryan Keller
> Assignee: Alin Dreghiciu
>
> The Pax-Web War extender only supports the ".jsp" extension for JSP files.
> Other extensions are commonly used, especially ".jspx" for the newer JSP XML
> format. Jetty standalone supports the following by default (see
> http://docs.codehaus.org/display/JETTY/webdefault.xml): *.jsp, *.jspf,
> *.jspx, *.xsp, *.JSP, *.JSPF, *.JSPX, *.XSP.
> The relevant line of code is in
> org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.java, line
> 155.
> m_webContainer.registerJsps(
> new String[]{ "*.jsp" },
> m_httpContext
> );
> should be:
> m_webContainer.registerJsps(
> new String[]{ "*.jsp", "*.jspx", "*.jspf", "*.xsp" }, //etc.
> others ...
> m_httpContext
> );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general