001 <?xml version="1.0" encoding="UTF-8"?>
002
003 <web-app xmlns="http://java.sun.com/xml/ns/j2ee">
004 <filter>
005 <filter-name>requestEncodingFilter</filter-name>
006 <filter-class>com.bea.medrec.filters.RequestEncodingFilter</filter-class>
007 <init-param>
008 <param-name>encoding</param-name>
009 <param-value>UTF-8</param-value>
010 </init-param>
011 </filter>
012 <filter-mapping>
013 <filter-name>requestEncodingFilter</filter-name>
014 <servlet-name>action</servlet-name>
015 </filter-mapping>
016 <servlet>
017 <servlet-name>action</servlet-name>
018 <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
019 <init-param>
020 <param-name>config</param-name>
021 <param-value>/WEB-INF/struts-config.xml</param-value>
022 </init-param>
023 <init-param>
024 <param-name>debug</param-name>
025 <param-value>2</param-value>
026 </init-param>
027 <init-param>
028 <param-name>detail</param-name>
029 <param-value>2</param-value>
030 </init-param>
031 <init-param>
032 <param-name>application</param-name>
033 <param-value>com.bea.medrec.utils.ApplicationResources</param-value>
034 </init-param>
035 <init-param>
036 <param-name>nocache</param-name>
037 <param-value>true</param-value>
038 </init-param>
039 <load-on-startup>1</load-on-startup>
040 </servlet>
041 <servlet-mapping>
042 <servlet-name>action</servlet-name>
043 <url-pattern>*.do</url-pattern>
044 </servlet-mapping>
045 <welcome-file-list>
046 <welcome-file>login.do</welcome-file>
047 </welcome-file-list>
048 <error-page>
049 <error-code>404</error-code>
050 <location>/error.do</location>
051 </error-page>
052 <error-page>
053 <error-code>400</error-code>
054 <location>/error.do</location>
055 </error-page>
056 <error-page>
057 <error-code>500</error-code>
058 <location>/error.do</location>
059 </error-page>
060 <jsp-config>
061 <taglib>
062 <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
063 <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
064 </taglib>
065 <taglib>
066 <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
067 <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
068 </taglib>
069 <taglib>
070 <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
071 <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
072 </taglib>
073 <taglib>
074 <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
075 <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
076 </taglib>
077 <taglib>
078 <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
079 <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
080 </taglib>
081 <taglib>
082 <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
083 <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
084 </taglib>
085 <taglib>
086 <taglib-uri>/WEB-INF/sslext.tld</taglib-uri>
087 <taglib-location>/WEB-INF/sslext.tld</taglib-location>
088 </taglib>
089 </jsp-config>
090 <login-config>
091 <auth-method>FORM</auth-method>
092 <form-login-config>
093 <form-login-page>/login.do</form-login-page>
094 <form-error-page>/Error.jsp</form-error-page>
095 </form-login-config>
096 </login-config>
097 <ejb-ref>
098 <ejb-ref-name>AdminSessionEJB</ejb-ref-name>
099 <ejb-ref-type>Session</ejb-ref-type>
100 <home>com.bea.medrec.controller.AdminSessionHome</home>
101 <remote>com.bea.medrec.controller.AdminSession</remote>
102 <ejb-link>AdminSessionEJB</ejb-link>
103 </ejb-ref>
104 <ejb-ref>
105 <ejb-ref-name>PatientSessionEJB</ejb-ref-name>
106 <ejb-ref-type>Session</ejb-ref-type>
107 <home>com.bea.medrec.controller.PatientSessionHome</home>
108 <remote>com.bea.medrec.controller.PatientSession</remote>
109 <ejb-link>PatientSessionEJB</ejb-link>
110 </ejb-ref>
111 <ejb-ref>
112 <ejb-ref-name>RecordSessionEJB</ejb-ref-name>
113 <ejb-ref-type>Session</ejb-ref-type>
114 <home>com.bea.medrec.controller.RecordSessionHome</home>
115 <remote>com.bea.medrec.controller.RecordSession</remote>
116 <ejb-link>RecordSessionEJB</ejb-link>
117 </ejb-ref>
118 </web-app>
|