Redirecting the users list,

On 13/07/12 16:15, sunnydyal wrote:
OK. style-sheet exists in my root directory. Still not picking up stylesheet.

Servlet controller produce a warning.

Here Html Source:
<HEAD>
<LINK type="text/css" rel="stylesheet" href="/myapp/servicelist.css">
<meta http-equiv=content-type content="text/html; charset=UTF-8">
<title>CXF - Service list</title>
</head>

WARN : org.apache.cxf.transport.servlet.ServletController - Can't find the
the request for http://localhost:8080/myapp/servicelist.css's Observer


This is because your CXFServlet is most likely listening on "/*" so it is asked to handle this URI. Can you restrict it to say "/services/*" or similar, this would let a default servlet to read this file ? If you prefer "/*" then consider configuring a "static-resources-list" CXF parameter, see DefaultCXFServlet:

http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/resources/jaxrs_dispatch/WEB-INF/web.xml

Sergey





--
View this message in context: 
http://cxf.547215.n5.nabble.com/Available-RESTful-services-UI-tp5710956p5711058.html
Sent from the cxf-dev mailing list archive at Nabble.com.


--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to