Skip to content

Instantly share code, notes, and snippets.

@sejersbol
Created February 26, 2011 08:32
Show Gist options
  • Save sejersbol/845054 to your computer and use it in GitHub Desktop.
Save sejersbol/845054 to your computer and use it in GitHub Desktop.
WEB-INF/web.xml file
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<servlet>
<servlet-name>Ws</servlet-name>
<servlet-class>com.example.Ws</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Ws</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment