[
https://issues.jboss.org/browse/JBIDE-8687?page=com.atlassian.jira.plugin...
]
Dan Allen commented on JBIDE-8687:
----------------------------------
Please just add the mappings correctly, if there is no way to stop it from writing them. I
propose the following:
Servlet Name: Faces Servlet
Servlet URL Patterns: *.jsf, *.xhtml, /faces/*
These are the values that should be the default anyway (*.xhtml isn't, but should
be).
I should also add that it's adding an XML namespace named "web" that points
to the 2.5 XSD. That's just an annoyance.
JSF tooling adds an Faces Servlet declaration with no servlet
mappings on project import
----------------------------------------------------------------------------------------
Key: JBIDE-8687
URL:
https://issues.jboss.org/browse/JBIDE-8687
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF, UpStream
Affects Versions: 3.2.0.Final
Reporter: Dan Allen
Assignee: Viacheslav Kabanovich
Priority: Blocker
Fix For: 3.2.1, 3.3.0.M1
When importing a Java EE 6 webapp that contains a faces-config.xml descriptor, the JSF
tooling unnecessarily adds a Faces Servlet declaration to the web.xml. The Faces Servlet
is not required in Java EE 6 (at least on JBoss AS and GlassFish). What's worse, the
Servlet is added with no mappings, so it completely breaks JSF.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira