<!DOCTYPE web-app 
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>


    <!-- General description of your web application -->

    <display-name>BeNOW Web Application</display-name>
    <description>
      Generic application demonstrating WebApplication framework.
      See http://benow.ca, or contact andy@benow.ca for more info.
    </description>

    <context-param>
      <param-name>webmaster</param-name>
      <param-value>you@youraddress.com</param-value>
      <description>
        The EMAIL address of the administrator to whom questions
        and comments about this application should be addressed.
      </description>
    </context-param>


    <!-- Servlets -->
    <servlet>
      <servlet-name>tv</servlet-name>
      <description>WebApplication framework servlet</description>
      <servlet-class>org.benow.web.SecureWebApplication</servlet-class>

      <!-- 
           the log configuration file used during init 
	   (NOTE: Should be the same as etc/web.config.xml#LogPage.loggingFile
	   to use the same logging setup during init as during run.)
      -->
      <init-param>
        <param-name>initLogFile</param-name>
        <param-value>etc/logging.xml</param-value>
      </init-param>

      <!-- Load this servlet at server startup time -->
      <load-on-startup>1</load-on-startup>
    </servlet>


	<!-- root servlet mapping.  redirect requests for / directly to servlet -->
    <servlet-mapping>
      <servlet-name>tv</servlet-name>
      <url-pattern>/tv</url-pattern>
    </servlet-mapping>

    <!-- Define the default session timeout for your application,
         in minutes.  From a servlet or JSP page, you can modify
         the timeout for a particular session dynamically by using
         HttpSession.getMaxInactiveInterval(). -->

    <session-config>
      <session-timeout>30</session-timeout>    <!-- 30 minutes -->
    </session-config>


</web-app>

