I have product.html file in my webapp folder and it works fine.
Then I add class with @Path("rest/product") annotation and REST works fine,
but I loss access to my product.html. In console when I try open
http://localhost:8080/app/product.html:
org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor processRequest
WARNING: No root resource matching request path product.html has been found,
Relative Path: /product.html. Please enable FINE/TRACE log level for more
details.
My web.xml pretty simple:
<web-app>
<welcome-file-list>
<welcome-file>product.html</welcome-file>
</welcome-file-list>
</web-app>
What am I doing wrong? And how to setup url-prefix for JAX-RS?
--
View this message in context:
http://openejb.979440.n4.nabble.com/JAX-RS-overlaps-access-to-static-HTML-tp4667855.html
Sent from the OpenEJB User mailing list archive at Nabble.com.