<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      "http://java.sun.com/dtd/web-app_2_3.dtd">
<!-- generated by Spindle, http://spindle.sourceforge.net -->

<web-app>
    <display-name>${projName}</display-name>
	
	<context-param>
		<param-name>s2config</param-name>
		<param-value>/WEB-INF/conf/web-app.dicon</param-value>
	</context-param>

    <filter>
        <filter-name>redirect</filter-name>
        <filter-class>org.apache.tapestry.RedirectFilter</filter-class>
    </filter>
	<filter>
	    <filter-name>OpenSessionInView</filter-name>
	    <filter-class>org.asyrinx.joey.hibernate.seasar.filter.OpenSessionInViewFilter</filter-class>
	</filter>
    <filter-mapping>
        <filter-name>redirect</filter-name>
        <url-pattern>/</url-pattern>
    </filter-mapping>
	<filter-mapping>
    	<filter-name>OpenSessionInView</filter-name>
	    <url-pattern>/app</url-pattern>
	</filter-mapping>
	
	<listener>
		<listener-class>org.asyrinx.brownie.seasar.servlet.S2ContainerLoaderListener</listener-class>
	</listener>

    <servlet>
        <servlet-name>${projName}</servlet-name>
        <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>${projName}</servlet-name>
        <url-pattern>/app</url-pattern>
    </servlet-mapping>

</web-app>
