<?xml version="1.0" encoding="ISO-8859-1"?>
<!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>
	<display-name>EDB Web Module</display-name>
	<description>A Presentation tier of an EDB application</description>
	<!--
	  - Location of the Log4J config file, for initialization and refresh checks.
	  - Applied by Log4jConfigListener.
	  -->
	<context-param>
		<param-name>log4jConfigLocation</param-name>
		<param-value>classpath:log4j.xml</param-value>
	</context-param>
	<!-- ###################################################### -->
	<!-- ################ Spring Configuration ################ -->
	<!-- ###################################################### -->
	<!-- Used to create Common ApplicationContext (used as Parent) -->
	<context-param>
		<param-name>locatorFactorySelector</param-name>
		<param-value>classpath:commons/beanRefContext.xml</param-value>
	</context-param>
	<context-param>
		<param-name>parentContextKey</param-name>
		<param-value>common.ApplicationContext</param-value>
	</context-param>
	<!-- Used to create UI ApplicationContext -->
	<context-param>
		<param-name>contextConfigLocation</param-name>
		<param-value>classpath:ui/applicationContext.xml</param-value>
	</context-param>
	<!-- Start of Decryption filter -->
	<filter>
		<filter-name>decryptionFilter</filter-name>
		<display-name>Decryption Filter</display-name>
		<description>Decrypt the encrypted hidden fields and query 
			parameters</description>
		<filter-class>gov.va.med.fw.ui.filter.DecryptionFilter</filter-class>
	</filter>
	<filter>
		<filter-name>Acegi Filter Chain Proxy</filter-name>
		<filter-class>net.sf.acegisecurity.util.FilterToBeanProxy</filter-class>
		<init-param>
			<param-name>targetClass</param-name>
			<param-value> net.sf.acegisecurity.util.FilterChainProxy 
				</param-value>
		</init-param>
	</filter>
	<filter-mapping>
		<filter-name>decryptionFilter</filter-name>
		<url-pattern>*</url-pattern>
	</filter-mapping>
	<filter-mapping>
		<filter-name>Acegi Filter Chain Proxy</filter-name>
		<url-pattern>*.do</url-pattern>
	</filter-mapping>
	<filter-mapping>
		<filter-name>Acegi Filter Chain Proxy</filter-name>
		<url-pattern>*.jsp</url-pattern>
	</filter-mapping>
	<!-- End of Decryption filter -->
	<!-- ###################################################### -->
	<!-- ################ Spring Configuration ################ -->
	<!-- ###################################################### -->
	<listener>
		<listener-class>
			org.springframework.web.context.ContextLoaderListener</listener-class>
	</listener>
	
	<!-- ############################################-->
	<!-- Cactus Configuration for Servlets -->
	<!-- ############################################-->
	<servlet>
    	<servlet-name>ServletRedirector</servlet-name>
    	<servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
  	</servlet>  
  	<servlet-mapping>
    	<servlet-name>ServletRedirector</servlet-name>
    	<url-pattern>/ServletRedirector</url-pattern>
  	</servlet-mapping>
  	<!-- End of Cactus Configuration -->
  	
	<servlet>
		<servlet-name>action</servlet-name>
		<servlet-class>
			gov.va.med.esr.ui.struts.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>config</param-name>
			<param-value>
				/WEB-INF/edb_struts-config.xml,/WEB-INF/struts-config.xml</param-value>
		</init-param>
		<init-param>
			<param-name>mapping</param-name>
			<param-value>
				gov.va.med.fw.ui.struts.ServiceBrokerActionMapping</param-value>
		</init-param>
		<init-param>
			<param-name>config/admin</param-name>
			<param-value>
				/WEB-INF/edb_struts-config.xml,/WEB-INF/admin/struts-config.xml</param-value>
		</init-param>
		<init-param>
			<param-name>config/address</param-name>
			<param-value>
				/WEB-INF/edb_struts-config.xml,/WEB-INF/address/struts-config.xml</param-value>
		</init-param>
		<init-param>
			<param-name>config/ee</param-name>
			<param-value>
				/WEB-INF/edb_struts-config.xml,/WEB-INF/ee/struts-config.xml</param-value>
		</init-param>
		<init-param>
			<param-name>config/demographic</param-name>
			<param-value>
				/WEB-INF/edb_struts-config.xml,/WEB-INF/demographic/struts-config.xml</param-value>
		</init-param>
		<init-param>
			<param-name>config/militaryservice</param-name>
			<param-value>
				/WEB-INF/edb_struts-config.xml,/WEB-INF/militaryservice/struts-config.xml</param-value>
		</init-param>
		<init-param>
			<param-name>config/financials</param-name>
			<param-value>
				/WEB-INF/edb_struts-config.xml,/WEB-INF/financials/struts-config.xml</param-value>
		</init-param>
		<init-param>
			<param-name>debug</param-name>
			<param-value>2</param-value>
		</init-param>
		<init-param>
			<param-name>detail</param-name>
			<param-value>2</param-value>
		</init-param>
		<load-on-startup>1</load-on-startup>
	</servlet>
	<!-- Standard Action Servlet Mapping -->
	<servlet-mapping>
		<servlet-name>action</servlet-name>
		<url-pattern>*.do</url-pattern>
	</servlet-mapping>
	<!-- The Usual Welcome File List -->
	<welcome-file-list>
		<welcome-file>/logon.display.do</welcome-file>
	</welcome-file-list>
	
	<!--       Error Page Entries    -->
	<error-page>
		<error-code>403</error-code>
		<location>/accessDeniedError.jsp</location>
	</error-page>
	
	<!-- Struts Tag Library Descriptors -->
	<taglib>
		<taglib-uri>/tags/struts-bean</taglib-uri>
		<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/struts-bean-el</taglib-uri>
		<taglib-location>/WEB-INF/struts-bean-el.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/struts-html</taglib-uri>
		<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/struts-html-el</taglib-uri>
		<taglib-location>/WEB-INF/struts-html-el.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/struts-logic</taglib-uri>
		<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/struts-logic-el</taglib-uri>
		<taglib-location>/WEB-INF/struts-logic-el.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/struts-nested</taglib-uri>
		<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/struts-tiles-el</taglib-uri>
		<taglib-location>/WEB-INF/struts-tiles-el.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/struts-tiles</taglib-uri>
		<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/display</taglib-uri>
		<taglib-location>/WEB-INF/displaytag-12.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/displaytag</taglib-uri>
		<taglib-location>/WEB-INF/displaytag-12.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/fw</taglib-uri>
		<taglib-location>/WEB-INF/fw-core.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/jstl/core</taglib-uri>
		<taglib-location>/WEB-INF/jstl-core.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/jstl/xml</taglib-uri>
		<taglib-location>/WEB-INF/jstl-xml.tld</taglib-location>
	</taglib>
	<taglib>
		<taglib-uri>/tags/esr-core</taglib-uri>
		<taglib-location>/WEB-INF/esr-core.tld</taglib-location>
	</taglib>
</web-app>