WebStack

Changeset

97:362004761af5
2004-03-26 paulb raw files shortlog changelog graph [project @ 2004-03-26 18:59:55 by paulb] Added an example deployment descriptor file for J2EE environments.
examples/JavaServlet/web.xml (file)
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/examples/JavaServlet/web.xml	Fri Mar 26 18:59:55 2004 +0000
     1.3 @@ -0,0 +1,22 @@
     1.4 +<!DOCTYPE web-app 
     1.5 +    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
     1.6 +    "http://java.sun.com/dtd/web-app_2_3.dtd">
     1.7 +
     1.8 +<web-app>
     1.9 +
    1.10 +    <display-name>SimpleApp</display-name>
    1.11 +    <description>
    1.12 +        Simple application for WebStack
    1.13 +    </description>
    1.14 +
    1.15 +    <servlet>
    1.16 +        <servlet-name>pyservlet</servlet-name>
    1.17 +        <servlet-class>org.python.util.PyServlet</servlet-class>
    1.18 +    </servlet>
    1.19 +
    1.20 +    <servlet-mapping>
    1.21 +        <servlet-name>pyservlet</servlet-name>
    1.22 +        <url-pattern>*.py</url-pattern>
    1.23 +    </servlet-mapping>
    1.24 +
    1.25 +</web-app>