(file) Return to web.xml CVS log (file) (dir) Up to [Development] / ifodder / WebRoot / WEB-INF

 1 pjaol 1.1 <?xml version="1.0" encoding="UTF-8"?>
 2           <web-app version="2.4" 
 3           	xmlns="http://java.sun.com/xml/ns/j2ee" 
 4           	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
 5           	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
 6           	http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
 7           	
 8             <description>DB Reference</description>
 9             <resource-ref>
10                 <description>DB Connection</description>
11                 <res-ref-name>jdbc/DBiFodder</res-ref-name>
12                 <res-type>javax.sql.DataSource</res-type>
13                 <res-auth>Container</res-auth>
14             </resource-ref>
15             
16             <filter>
17             	<filter-name>userFilter</filter-name>
18             	<filter-class>com.pjaol.ifodder.servlet.UserFilter</filter-class>
19             </filter>
20             <filter-mapping>
21             	<filter-name>userFilter</filter-name>
22 pjaol 1.1   	<url-pattern>/*</url-pattern>
23             </filter-mapping>
24             
25             <servlet>
26               <description>Load iFodder application and initialize its configuration</description>
27               <display-name>iFodder initialization servlet</display-name>
28               <servlet-name>Initialization</servlet-name>
29               <servlet-class>com.pjaol.ifodder.Initialization</servlet-class>
30               <init-param>
31               		<param-name>configFile</param-name>
32               		<param-value>WEB-INF/ifodder.properties</param-value>
33               </init-param>
34               <init-param>
35               		<param-name>log4j</param-name>
36               		<param-value>WEB-INF/log4j.properties</param-value>
37               </init-param>
38               <load-on-startup>1</load-on-startup>
39             </servlet>
40             <servlet>
41               <description>Handle web connections</description>
42               <display-name>iFodder Web Handler</display-name>
43 pjaol 1.1     <servlet-name>WebHandler</servlet-name>
44               <servlet-class>com.pjaol.ifodder.servlet.WebHandler</servlet-class>
45             </servlet>
46           
47           
48           
49             <servlet-mapping>
50               <servlet-name>Initialization</servlet-name>
51               <url-pattern>/Initialization</url-pattern>
52               
53             </servlet-mapping>
54             <servlet-mapping>
55               <servlet-name>WebHandler</servlet-name>
56               <url-pattern>/servlet/WebHandler</url-pattern>
57             </servlet-mapping>
58           
59           </web-app>

cvsadmin
Powered by
ViewCVS 0.9.2