2012/2/14 Guofeng Zhang <guof...@radvision.com>: > 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
The above should be /META-INF/resources See chapter 4.6 Resources of servlet-3_0-mrel-spec.pdf > +---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? > Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org