Hi,

I create a web fragment, which contains servlets and static HTML and CSS files. 
The following  is their location in the fragement JAR file:
/META-INF
           +---web-fragment.xml
/resources
          +---style.css
          +---hello.html
/com
         .... The servlet classes

This jar placed in another jsr315.war's WEB-INF/lib directory.

It is OK when  I access the servlet in the web fragment, but when I try to 
access the static HTML using http://localhost:8080/jsr315/hello.html, I got a 
404 error.

What I did it wrong?

Thanks

Guofeng

Reply via email to