Created
October 5, 2012 04:02
-
-
Save franzwong/3838009 to your computer and use it in GitHub Desktop.
Sample web.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<web-app | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" | |
id="WebApp_ID" version="3.0"> | |
<servlet> | |
<servlet-name>My Servlet</servlet-name> | |
<servlet-class>test.MyServlet</servlet-class> | |
</servlet> | |
<servlet-mapping> | |
<servlet-name>My Servlet</servlet-name> | |
<url-pattern>/myservlet</url-pattern> | |
</servlet-mapping> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks was really helpfull