I am using Jboss RestEasy web services, and I need to multiple url to map to that web service. Is there any possibility that I can set multiple prefixes for 'resteasy.servlet.mapping.prefixconfigured
here is my configuration in web.xml
<servlet-name>REST Service</servlet-name>
<servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servletclass>
</servlet>
<servlet-mapping>
<servlet-name>REST Service</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>REST Service</servlet-name>
<url-pattern>/service/*</url-pattern>
</servlet-mapping>
<context-param>
<param-name>resteasy.servlet.mapping.prefix</param-name>
<param-value>/rest</param-value>
</context-param>
I want service for both "/rest" and "/service" prefixes