CVS: Tapestry/examples/Tutorial/context/WEB-INF web.xml,NONE,1.1.2.1

Howard Lewis Ship <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/examples/Tutorial/context/WEB-INF
In directory sc8-pr-cvs1:/tmp/cvs-serv10583/examples/Tutorial/context/WEB-INF

Added Files:
      Tag: hship-2-3
	web.xml 
Log Message:
Reorganize the tutorials to use new 2.4 features.

--- NEW FILE: web.xml ---
<?xml version="1.0"?>
<!--$Id: web.xml,v 1.1.2.1 2003/01/02 03:15:32 hship Exp $ -->
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
 "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
  <display-name>Tapestry Tutorial</display-name>
  
  <!-- A typical Tapestry WAR will have exactly one servlet.  The Tutorial is actually
       several seperate Tapestry application bundled together.  The framework allows for
       this (you'll notice that each object stored in the ServletContext has a unique
       name to avoid collisions between sibling Tapestry applications.
       
       It's a good idea to load the servlet on startup; this helps get the large
       number of Tapestry classes loaded.
       
       -->
       
  <servlet>
    <servlet-name>simple</servlet-name>
    <servlet-class>net.sf.tapestry.ApplicationServlet</servlet-class>
  	<load-on-startup>0</load-on-startup>
  </servlet>

  <servlet>
    <servlet-name>border</servlet-name>
    <servlet-class>net.sf.tapestry.ApplicationServlet</servlet-class>
  	<load-on-startup>0</load-on-startup>
  </servlet>

  <servlet>
    <servlet-name>hangman</servlet-name>
    <servlet-class>net.sf.tapestry.ApplicationServlet</servlet-class>
    <init-param>
    	<param-name>net.sf.tapestry.visit-class</param-name>
    	<param-value>tutorial.hangman.Visit</param-value>
    </init-param>    	
  	<load-on-startup>0</load-on-startup>
  </servlet>

  <servlet>
  	<servlet-name>portal</servlet-name>
    <servlet-class>net.sf.tapestry.ApplicationServlet</servlet-class>
  	<load-on-startup>0</load-on-startup>
  </servlet>
  
  <servlet>
  	<servlet-name>workbench</servlet-name>
    <servlet-class>net.sf.tapestry.ApplicationServlet</servlet-class>
  	<load-on-startup>0</load-on-startup>
  </servlet>
  
  <servlet-mapping>
    <servlet-name>simple</servlet-name>
    <url-pattern>/simple/app</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>border</servlet-name>
    <url-pattern>/border/app</url-pattern>
  </servlet-mapping>
  
  <servlet-mapping>
    <servlet-name>hangman</servlet-name>
    <url-pattern>/hangman/app</url-pattern>
  </servlet-mapping>
    
  <servlet-mapping>
  	<servlet-name>portal</servlet-name>
  	<url-pattern>/portal/app</url-pattern>
  </servlet-mapping>
     
  <servlet-mapping>
  	<servlet-name>workbench</servlet-name>
  	<url-pattern>/workbench/app</url-pattern>
  </servlet-mapping>
  

  <session-config>
  	<session-timeout>15</session-timeout>
  </session-config>
  
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
  </welcome-file-list>
</web-app>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.