Hi again
I'm trying to make a demo app that behave in a similar way to spring MVC but using jax-ws. Everything seems to work just fine, now I wanted to serve static files, but adding this code
   <servlet-mapping>
        <servlet-name>default</servlet-name>
        <url-pattern>/resources/*</url-pattern>
    </servlet-mapping>

into web.xml result into the root path resolved by the default servlet instead of the jax servlet. I though that using the default servlet to serve static resources should reduce issues of path manipulation, but I don't know if this the correct solution.

the code is here (tomee-plugin included):
https://bitbucket.org/kirys/tomee-tests/
into the spring-style dir.

Thank You
K.

Reply via email to