<?xml version="1.0" encoding="UTF-8"?>

    <!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>

	<context-param>
		<param-name>log4jConfigLocation</param-name>
		<param-value>/WEB-INF/log4j.properties</param-value>
	</context-param>


	<context-param>
  	<param-name>contextConfigLocation</param-name>
  	<param-value>/WEB-INF/dataAccessContext-local.xml /WEB-INF/applicationContext.xml</param-value>
	</context-param>
	
	<listener>
  	  <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
	</listener>
        <servlet>
            <servlet-name>controller</servlet-name>
            <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
            <load-on-startup>2</load-on-startup>
        </servlet>
       
        <servlet>
           <servlet-name>JnlpDownloadServlet</servlet-name>
           <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
        </servlet>
    
        <servlet-mapping>
            <servlet-name>controller</servlet-name>
            <url-pattern>/controller</url-pattern>
        </servlet-mapping>        
        
        <servlet-mapping>
            <servlet-name>JnlpDownloadServlet</servlet-name>
            <url-pattern>/demo18.jnlp</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>JnlpDownloadServlet</servlet-name>
            <url-pattern>/demo18login.jnlp</url-pattern>
        </servlet-mapping>
    
    </web-app>
