Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
899 | dev | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
2 | |||
3 | <!DOCTYPE web-app |
||
4 | PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" |
||
5 | "http://java.sun.com/dtd/web-app_2_3.dtd"> |
||
6 | |||
7 | <web-app> |
||
8 | |||
9 | <filter> |
||
10 | <filter-name>Encoding Filter</filter-name> |
||
905 | dev | 11 | <filter-class>ak.hostcaptain.core.servlet.EncodingFilter</filter-class> |
899 | dev | 12 | </filter> |
13 | <filter> |
||
14 | <filter-name>Hibernate Filter</filter-name> |
||
905 | dev | 15 | <filter-class>ak.hostcaptain.core.servlet.HibernateFilter</filter-class> |
899 | dev | 16 | <init-param> |
17 | <param-name>register</param-name> |
||
18 | <param-value> |
||
905 | dev | 19 | ak.hostcaptain.core.model.UserManager; |
20 | ak.hostcaptain.core.model.MailboxManager; |
||
21 | ak.hostcaptain.core.model.MailAliasManager; |
||
22 | ak.hostcaptain.core.model.MailAliasDestinationManager; |
||
23 | ak.hostcaptain.core.model.SystemUserManager; |
||
24 | ak.hostcaptain.core.model.InetDomainManager |
||
899 | dev | 25 | </param-value> |
26 | </init-param> |
||
27 | </filter> |
||
28 | <filter> |
||
29 | <filter-name>Login Filter</filter-name> |
||
905 | dev | 30 | <filter-class>ak.hostcaptain.core.servlet.LoginFilter</filter-class> |
899 | dev | 31 | <init-param> |
32 | <param-name>loginUrl</param-name> |
||
33 | <param-value>/system/login.do?backpath=</param-value> |
||
34 | </init-param> |
||
35 | <init-param> |
||
36 | <param-name>passUrls</param-name> |
||
37 | <param-value>/system/*</param-value> |
||
38 | </init-param> |
||
39 | </filter> |
||
40 | |||
41 | <filter-mapping> |
||
42 | <filter-name>Encoding Filter</filter-name> |
||
43 | <url-pattern>/*</url-pattern> |
||
44 | </filter-mapping> |
||
45 | <filter-mapping> |
||
46 | <filter-name>Hibernate Filter</filter-name> |
||
47 | <url-pattern>/*</url-pattern> |
||
48 | </filter-mapping> |
||
49 | <filter-mapping> |
||
50 | <filter-name>Login Filter</filter-name> |
||
51 | <url-pattern>/*</url-pattern> |
||
52 | </filter-mapping> |
||
53 | |||
54 | <!-- Standard Action Servlet Configuration (with debugging) --> |
||
55 | <servlet> |
||
56 | <servlet-name>action</servlet-name> |
||
57 | <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> |
||
58 | <init-param> |
||
59 | <param-name>config</param-name> |
||
60 | <param-value>/WEB-INF/struts-config.xml</param-value> |
||
61 | </init-param> |
||
62 | <init-param> |
||
63 | <param-name>debug</param-name> |
||
64 | <param-value>2</param-value> |
||
65 | </init-param> |
||
66 | <init-param> |
||
67 | <param-name>detail</param-name> |
||
68 | <param-value>2</param-value> |
||
69 | </init-param> |
||
70 | <load-on-startup>2</load-on-startup> |
||
71 | </servlet> |
||
72 | |||
73 | |||
74 | <!-- Standard Action Servlet Mapping --> |
||
75 | <servlet-mapping> |
||
76 | <servlet-name>action</servlet-name> |
||
77 | <url-pattern>*.do</url-pattern> |
||
78 | </servlet-mapping> |
||
79 | |||
80 | |||
81 | <!-- The Usual Welcome File List --> |
||
82 | <welcome-file-list> |
||
83 | <welcome-file>index.do</welcome-file> |
||
84 | <welcome-file>index.html</welcome-file> |
||
85 | </welcome-file-list> |
||
86 | |||
87 | |||
88 | <!-- Struts Tag Library Descriptors --> |
||
89 | <taglib> |
||
90 | <taglib-uri>/tags/struts-bean</taglib-uri> |
||
91 | <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> |
||
92 | </taglib> |
||
93 | |||
94 | <taglib> |
||
95 | <taglib-uri>/tags/struts-html</taglib-uri> |
||
96 | <taglib-location>/WEB-INF/struts-html.tld</taglib-location> |
||
97 | </taglib> |
||
98 | |||
99 | <taglib> |
||
100 | <taglib-uri>/tags/struts-logic</taglib-uri> |
||
101 | <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> |
||
102 | </taglib> |
||
103 | |||
104 | <taglib> |
||
105 | <taglib-uri>/tags/struts-nested</taglib-uri> |
||
106 | <taglib-location>/WEB-INF/struts-nested.tld</taglib-location> |
||
107 | </taglib> |
||
108 | |||
109 | <taglib> |
||
110 | <taglib-uri>/tags/struts-tiles</taglib-uri> |
||
111 | <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location> |
||
112 | </taglib> |
||
113 | |||
114 | <taglib> |
||
115 | <taglib-uri>/ak/backpath</taglib-uri> |
||
116 | <taglib-location>/WEB-INF/ak-backpath.tld</taglib-location> |
||
117 | </taglib> |
||
118 | |||
913 | dev | 119 | <taglib> |
120 | <taglib-uri>/ak/hostcaptain/core</taglib-uri> |
||
121 | <taglib-location>/WEB-INF/hostcaptain-core.tld</taglib-location> |
||
122 | </taglib> |
||
123 | |||
899 | dev | 124 | </web-app> |