<?xml version="1.0"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
  version="2.4">
  <context-param>
    <param-name>org.seasar.framework.container.configPath</param-name>
    <param-value>ymir.dicon</param-value>
  </context-param>
  <filter>
    <filter-name>encodingfilter</filter-name>
    <filter-class>
      org.seasar.extension.filter.EncodingFilter
    </filter-class>
    <init-param>
      <param-name>encoding</param-name>
      <param-value>UTF-8</param-value>
    </init-param>
  </filter>
  <filter>
    <filter-name>s2filter</filter-name>
    <filter-class>
      org.seasar.framework.container.filter.S2ContainerFilter
    </filter-class>
  </filter>
  <filter>
    <filter-name>hotdeployfilter</filter-name>
    <filter-class>
      org.seasar.ymir.container.hotdeploy.OndemandFilter
    </filter-class>
  </filter>
  <filter>
    <filter-name>ymir.request</filter-name>
    <filter-class>org.seasar.ymir.YmirFilter</filter-class>
    <init-param>
      <param-name>dispatcher</param-name>
      <param-value>REQUEST</param-value>
    </init-param>
  </filter>
  <filter>
    <filter-name>ymir.forward</filter-name>
    <filter-class>org.seasar.ymir.servlet.YmirFilter</filter-class>
    <init-param>
      <param-name>dispatcher</param-name>
      <param-value>FORWARD</param-value>
    </init-param>
  </filter>
  <filter>
    <filter-name>ymir.include</filter-name>
    <filter-class>org.seasar.ymir.YmirFilter</filter-class>
    <init-param>
      <param-name>dispatcher</param-name>
      <param-value>INCLUDE</param-value>
    </init-param>
  </filter>
  <filter-mapping>
    <filter-name>encodingfilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>s2filter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>hotdeployfilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>ymir.request</filter-name>
    <url-pattern>*.html</url-pattern>
    <dispatcher>REQUEST</dispatcher>
  </filter-mapping>
  <filter-mapping>
    <filter-name>ymir.forward</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>FORWARD</dispatcher>
  </filter-mapping>
  <filter-mapping>
    <filter-name>ymir.include</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>INCLUDE</dispatcher>
  </filter-mapping>
  <listener>
    <listener-class>
      org.seasar.framework.container.servlet.S2ContainerListener
    </listener-class>
  </listener>
  <servlet>
    <servlet-name>zpt</servlet-name>
    <servlet-class>org.seasar.ymir.zpt.YmirFreyjaServlet</servlet-class>
    <init-param>
      <param-name>templateParser</param-name>
      <param-value>org.seasar.ymir.zpt.YmirTemplateParser</param-value>
    </init-param>
    <init-param>
      <param-name>tagEvaluator</param-name>
      <param-value>org.seasar.ymir.zpt.YmirTagEvaluator</param-value>
    </init-param>
    <init-param>
      <param-name>expressionEvaluator</param-name>
      <param-value>
        net.skirnir.freyja.zpt.webapp.ServletTalesExpressionEvaluator
      </param-value>
    </init-param>
    <init-param>
      <param-name>tagRenderer</param-name>
      <param-value>org.seasar.ymir.zpt.YmirTagRenderer</param-value>
    </init-param>
    <init-param>
      <param-name>templateRoot</param-name>
      <param-value></param-value>
    </init-param>
    <init-param>
      <param-name>pageEncoding</param-name>
      <param-value>UTF-8</param-value>
    </init-param>
    <init-param>
      <param-name>requestEncoding</param-name>
      <param-value>UTF-8</param-value>
    </init-param>
    <init-param>
      <param-name>responseEncoding</param-name>
      <param-value>UTF-8</param-value>
    </init-param>
    <init-param>
      <param-name>contentType</param-name>
      <param-value>text/html; charset=UTF-8</param-value>
    </init-param>
    <init-param>
      <param-name>transcriptVariablesToRequest</param-name>
      <param-value>false</param-value>
    </init-param>
    <init-param>
      <param-name>variableResolverFactory</param-name>
      <param-value></param-value>
    </init-param>
  </servlet>
  <servlet-mapping>
    <servlet-name>zpt</servlet-name>
    <url-pattern>*.html</url-pattern>
  </servlet-mapping>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
  </welcome-file-list>
</web-app>
