0 Replies Latest reply on Jul 29, 2012 10:02 AM by luca.masini

    Is the web.xml generated by the RestWebXmlFacetImpl correct ?

    luca.masini

      I noticed that Forge add this xml configuration into web.xml:

       

          <servlet-mapping>

              <servlet-name>javax.ws.rs.core.Application1</servlet-name>

              <url-pattern>resources/*</url-pattern>

          </servlet-mapping>

       

      but JAX-RS 1.1 (2.3.2) says that the mapping alone is not enough.

       

      Is this a wanted behaviour ?? In case can we add a --strict param to create only "strict" JavaEE 6 configuration ?