[
https://issues.jboss.org/browse/JBIDE-13312?page=com.atlassian.jira.plugi...
]
Pete Muir commented on JBIDE-13312:
-----------------------------------
If you generate the application class, there should be no need to put anything in the
web.xml. If the user wants to use web.xml, they can, but that is better handled as docs
IMO. Or have I misunderstood the question? ;-)
Unnecessary code generated in web.xml
-------------------------------------
Key: JBIDE-13312
URL:
https://issues.jboss.org/browse/JBIDE-13312
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.0.0.Final
Reporter: Pete Muir
Assignee: Brian Fitzpatrick
Fix For: 4.2.x
The new RESTful Webservice wizard is generating a load of unnecessary stuff in the
endpoint
{code}
<servlet>
<servlet-name>Resteasy</servlet-name>
<servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Resteasy</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<context-param>
<param-name>javax.ws.rs.Application</param-name>
<param-value>org.jboss.samples.rs.webservices.MyRESTApplication</param-value>
</context-param>
<listener>
<listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
</listener>
{code}
None of this is needed
--
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