Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

web.xml

By: a guest on Jun 12th, 2012  |  syntax: XML  |  size: 0.99 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.         xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
  4.         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
  5.         id="de.pentos.cxf.demo" version="2.5">
  6.         <display-name>cxf.demo</display-name>
  7.         <context-param>
  8.                 <param-name>contextConfigLocation</param-name>
  9.                 <param-value>classpath:beans.xml</param-value>
  10.         </context-param>
  11.         <listener>
  12.                 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  13.         </listener>
  14.         <servlet>
  15.                 <display-name>CXF Servlet</display-name>
  16.                 <servlet-name>CXFServlet</servlet-name>
  17.                 <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
  18.                 <load-on-startup>1</load-on-startup>
  19.         </servlet>
  20.         <servlet-mapping>
  21.                 <servlet-name>CXFServlet</servlet-name>
  22.                 <url-pattern>/services/*</url-pattern>
  23.         </servlet-mapping>
  24. </web-app>