1 <!DOCTYPE web-app 2 PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 3 "http://java.sun.com/dtd/web-app_2_3.dtd"> 4 5 <web-app> 6 7 <display-name>SimpleApp</display-name> 8 <description> 9 Simple application for WebStack 10 </description> 11 12 <servlet> 13 <servlet-name>pyservlet</servlet-name> 14 <servlet-class>org.python.util.PyServlet</servlet-class> 15 <init-param> 16 <param-name>python.home</param-name> 17 <param-value>%s</param-value> 18 </init-param> 19 </servlet> 20 21 <servlet-mapping> 22 <servlet-name>pyservlet</servlet-name> 23 <url-pattern>*.py</url-pattern> 24 </servlet-mapping> 25 26 </web-app>