1) in openejb-jar.xml use cxf.jaxrs.static-resources-list = index.html,another.html,my.css,... 2) don't get it since if you return an empty list of resource scanning is used by spec 3) it works but need an init param IIRC
2014-02-17 22:56 UTC+01:00, SanekP <[email protected]>: > 1. Can you explain how to use static-resources-list? > 2. That's uncomfortable to have an extension of > javax.ws.rs.core.Application > because resources doesn't register automatically. > 3. This web.xml not work for me: > <servlet> > <servlet-name>javax.ws.rs.core.Application</servlet-name> > </servlet> > <servlet-mapping> > <servlet-name>javax.ws.rs.core.Application</servlet-name> > <url-pattern>/rest/*</url-pattern> > </servlet-mapping> > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/JAX-RS-overlaps-access-to-static-HTML-tp4667855p4667857.html > Sent from the OpenEJB User mailing list archive at Nabble.com. > -- *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau*
