The Servlet Transport page at this link has incorrect documentation for the
web.xml:

http://cxf.apache.org/docs/servlet-transport.html

It has the init-param tags in the servlet-mapping rather than the servlet
where they should be, it should look like this:

<servlet>
        <display-name>CXF Servlet</display-name>
        <servlet-name>CXFServlet</servlet-name>
       
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
        <init-param>
            <param-name>config-location</param-name>
            <param-value>/WEB-INF/beans.xml</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>CXFServlet</servlet-name>
        <url-pattern>/services/*</url-pattern>
    </servlet-mapping>

Apparently editing the page is locked down or I would have changed it.
-- 
View this message in context: 
http://old.nabble.com/Incorrect-documentation-on-Servlet-Transport-page-tp28248003p28248003.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to