Rev 181 | Rev 186 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | fvelez | 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 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" > |
||
6 | |||
7 | |||
8 | <filter> |
||
150 | jmachado | 9 | <filter-name>CookieFilter</filter-name> |
10 | <filter-class>pt.estgp.estgweb.web.filters.CookieFilter</filter-class> |
||
11 | </filter> |
||
12 | <filter> |
||
1 | fvelez | 13 | <filter-name>UserSessionFilter</filter-name> |
14 | <filter-class>pt.estgp.estgweb.web.filters.UserSessionFilter</filter-class> |
||
15 | </filter> |
||
16 | <filter> |
||
17 | <filter-name>UserFilter</filter-name> |
||
18 | <filter-class>pt.estgp.estgweb.web.filters.UserFilter</filter-class> |
||
19 | </filter> |
||
20 | <filter> |
||
21 | <filter-name>AdminFilter</filter-name> |
||
25 | fvelez | 22 | <filter-class>pt.estgp.estgweb.web.filters.AdminFilter</filter-class> |
1 | fvelez | 23 | </filter> |
24 | <filter> |
||
25 | <filter-name>Set-Character-Encoding</filter-name> |
||
26 | <filter-class>jomm.web.filter.SetCharacterEncodingFilter</filter-class> |
||
27 | <init-param> |
||
28 | <param-name>encoding</param-name> |
||
29 | <param-value>UTF-8</param-value> |
||
30 | </init-param> |
||
31 | </filter> |
||
12 | jmachado | 32 | <filter> |
33 | <filter-name>UrlStatFilter</filter-name> |
||
34 | <filter-class>pt.estgp.estgweb.web.filters.UrlStatFilter</filter-class> |
||
35 | </filter> |
||
25 | fvelez | 36 | <filter> |
37 | <filter-name>RelativePathFilter</filter-name> |
||
38 | <filter-class>pt.estgp.estgweb.web.filters.RelativePathFilter</filter-class> |
||
39 | </filter> |
||
40 | |||
1 | fvelez | 41 | <filter-mapping> |
150 | jmachado | 42 | <filter-name>CookieFilter</filter-name> |
43 | <url-pattern>/*</url-pattern> |
||
44 | </filter-mapping> |
||
45 | <filter-mapping> |
||
1 | fvelez | 46 | <filter-name>Set-Character-Encoding</filter-name> |
47 | <url-pattern>/*</url-pattern> |
||
48 | </filter-mapping> |
||
49 | <filter-mapping> |
||
50 | <filter-name>UserSessionFilter</filter-name> |
||
51 | <url-pattern>/*</url-pattern> |
||
52 | </filter-mapping> |
||
53 | <filter-mapping> |
||
54 | <filter-name>UserFilter</filter-name> |
||
55 | <url-pattern>/user/*</url-pattern> |
||
56 | </filter-mapping> |
||
12 | jmachado | 57 | <filter-mapping> |
165 | jmachado | 58 | <filter-name>UserFilter</filter-name> |
59 | <url-pattern>/proxy/layoutIOnline/*</url-pattern> |
||
60 | </filter-mapping> |
||
61 | <filter-mapping> |
||
25 | fvelez | 62 | <filter-name>RelativePathFilter</filter-name> |
12 | jmachado | 63 | <url-pattern>/*</url-pattern> |
64 | </filter-mapping> |
||
25 | fvelez | 65 | <filter-mapping> |
183 | jmachado | 66 | <filter-name>UrlStatFilter</filter-name> |
67 | <url-pattern>/*</url-pattern> |
||
68 | </filter-mapping> |
||
69 | <filter-mapping> |
||
25 | fvelez | 70 | <filter-name>AdminFilter</filter-name> |
71 | <url-pattern>/admin/*</url-pattern> |
||
72 | </filter-mapping> |
||
1 | fvelez | 73 | <!----> |
74 | <!--SERVLETS--> |
||
75 | <servlet> |
||
76 | <servlet-name>action</servlet-name> |
||
77 | <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> |
||
78 | <init-param> |
||
79 | <param-name>config</param-name> |
||
80 | <param-value> |
||
81 | /WEB-INF/struts/struts-default.xml, |
||
82 | /WEB-INF/struts/struts-announcements.xml, |
||
83 | /WEB-INF/struts/struts-banners.xml, |
||
84 | /WEB-INF/struts/struts-courseunits.xml, |
||
85 | /WEB-INF/struts/struts-events.xml, |
||
86 | /WEB-INF/struts/struts-ftpclient.xml, |
||
87 | /WEB-INF/struts/struts-processworkflow.xml, |
||
18 | jmachado | 88 | /WEB-INF/struts/struts-searchusers.xml, |
75 | jmachado | 89 | /WEB-INF/struts/struts-urlstat.xml, |
92 | jmachado | 90 | /WEB-INF/struts/struts-blog.xml, |
152 | jmachado | 91 | /WEB-INF/struts/struts-commons.xml, |
163 | jmachado | 92 | /WEB-INF/struts/struts-intranet.xml, |
93 | /WEB-INF/struts/struts-reminders.xml |
||
1 | fvelez | 94 | </param-value> |
95 | </init-param> |
||
96 | <init-param> |
||
97 | <param-name>debug</param-name> |
||
98 | <param-value>2</param-value> |
||
99 | </init-param> |
||
100 | <init-param> |
||
101 | <param-name>detail</param-name> |
||
102 | <param-value>2</param-value> |
||
103 | </init-param> |
||
104 | <init-param> |
||
105 | <param-name>nocache</param-name> |
||
106 | <param-value>true</param-value> |
||
107 | </init-param> |
||
108 | <load-on-startup>2</load-on-startup> |
||
109 | </servlet> |
||
110 | <servlet> |
||
111 | <servlet-name>WebProxy</servlet-name> |
||
112 | <servlet-class>pt.estgp.estgweb.web.WebProxy</servlet-class> |
||
113 | </servlet> |
||
29 | jmachado | 114 | <!--<servlet>--> |
115 | <!--<servlet-name>HTTPProxy</servlet-name>--> |
||
116 | <!--<servlet-class>pt.estgp.estgweb.web.TmpStream</servlet-class>--> |
||
117 | <!--</servlet>--> |
||
118 | <!--<servlet>--> |
||
119 | <!--<servlet-name>FTPProxy</servlet-name>--> |
||
120 | <!--<servlet-class>pt.estgp.estgweb.web.FTPProxy</servlet-class>--> |
||
121 | <!--</servlet>--> |
||
1 | fvelez | 122 | <servlet> |
123 | <servlet-name>LayoutProxy</servlet-name> |
||
124 | <servlet-class>pt.estgp.estgweb.web.LayoutProxy</servlet-class> |
||
125 | </servlet> |
||
18 | jmachado | 126 | <servlet> |
127 | <servlet-name>tmpStream</servlet-name> |
||
128 | <servlet-class>pt.estgp.estgweb.web.TmpStream</servlet-class> |
||
129 | </servlet> |
||
48 | fvelez | 130 | <servlet> |
131 | <servlet-name>imageStream</servlet-name> |
||
132 | <servlet-class>pt.estgp.estgweb.web.ImageStream</servlet-class> |
||
133 | </servlet> |
||
1 | fvelez | 134 | |
112 | jmachado | 135 | |
1 | fvelez | 136 | <!--MAPPINGS--> |
137 | <servlet-mapping> |
||
138 | <servlet-name>action</servlet-name> |
||
139 | <url-pattern>*.do</url-pattern> |
||
140 | </servlet-mapping> |
||
141 | <servlet-mapping> |
||
142 | <servlet-name>WebProxy</servlet-name> |
||
143 | <url-pattern>/WebProxy</url-pattern> |
||
144 | </servlet-mapping> |
||
29 | jmachado | 145 | <!--<servlet-mapping>--> |
146 | <!--<servlet-name>HTTPProxy</servlet-name>--> |
||
147 | <!--<url-pattern>/HTTPProxy</url-pattern>--> |
||
148 | <!--</servlet-mapping>--> |
||
149 | <!--<servlet-mapping>--> |
||
150 | <!--<servlet-name>FTPProxy</servlet-name>--> |
||
151 | <!--<url-pattern>/FTPProxy</url-pattern>--> |
||
152 | <!--</servlet-mapping>--> |
||
1 | fvelez | 153 | <servlet-mapping> |
154 | <servlet-name>LayoutProxy</servlet-name> |
||
155 | <url-pattern>/proxy/*</url-pattern> |
||
156 | </servlet-mapping> |
||
18 | jmachado | 157 | <servlet-mapping> |
158 | <servlet-name>tmpStream</servlet-name> |
||
159 | <url-pattern>/tmpStream/*</url-pattern> |
||
160 | </servlet-mapping> |
||
48 | fvelez | 161 | <servlet-mapping> |
162 | <servlet-name>imageStream</servlet-name> |
||
163 | <url-pattern>/imageStream/*</url-pattern> |
||
164 | </servlet-mapping> |
||
1 | fvelez | 165 | |
166 | <!--START FILES--> |
||
167 | <welcome-file-list> |
||
168 | <welcome-file>index.jsp</welcome-file> |
||
169 | </welcome-file-list> |
||
170 | |||
168 | fvelez | 171 | <session-config> |
172 | <session-timeout>1</session-timeout> |
||
173 | </session-config> |
||
1 | fvelez | 174 | <!--Errors--> |
175 | <error-page> |
||
176 | <exception-type>pt.utl.ist.berserk.logic.serviceManager.exceptions.FilterChainFailedException</exception-type> |
||
177 | <location>/error401.do</location> |
||
178 | </error-page> |
||
179 | <error-page> |
||
180 | <exception-type>pt.estgp.estgweb.web.exceptions.NoCookiesException</exception-type> |
||
181 | <location>/errorNoCookies.do</location> |
||
182 | </error-page> |
||
183 | <error-page> |
||
184 | <exception-type>pt.estgp.estgweb.web.exceptions.NotAuthorizedException</exception-type> |
||
185 | <location>/error401.do</location> |
||
186 | </error-page> |
||
187 | <error-page> |
||
188 | <exception-type>java.lang.OutOfMemoryError</exception-type> |
||
189 | <location>/error500.do</location> |
||
190 | </error-page> |
||
191 | <error-page> |
||
192 | <exception-type>java.io.FileNotFoundException</exception-type> |
||
193 | <location>/error404.do</location> |
||
194 | </error-page> |
||
195 | <error-page> |
||
196 | <exception-type>java.io.IOException</exception-type> |
||
197 | <location>/error500.do</location> |
||
198 | </error-page> |
||
199 | <error-page> |
||
200 | <exception-type>java.lang.Throwable</exception-type> |
||
201 | <location>/error500.do</location> |
||
202 | </error-page> |
||
203 | <error-page> |
||
204 | <error-code>401</error-code> |
||
205 | <location>/error401.do</location> |
||
206 | </error-page> |
||
207 | <error-page> |
||
208 | <error-code>404</error-code> |
||
209 | <location>/error404.do</location> |
||
210 | </error-page> |
||
211 | <error-page> |
||
212 | <error-code>500</error-code> |
||
213 | <location>/error500.do</location> |
||
214 | </error-page> |
||
215 | |||
216 | <!--TLDS--> |
||
217 | <jsp-config> |
||
218 | <taglib> |
||
219 | <taglib-uri>/WEB-INF/jomm.tld</taglib-uri> |
||
220 | <taglib-location>/WEB-INF/tlds/jomm.tld</taglib-location> |
||
221 | </taglib> |
||
222 | <taglib> |
||
163 | jmachado | 223 | <taglib-uri>/WEB-INF/baco.tld</taglib-uri> |
224 | <taglib-location>/WEB-INF/tlds/baco.tld</taglib-location> |
||
1 | fvelez | 225 | </taglib> |
226 | <taglib> |
||
227 | <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri> |
||
228 | <taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location> |
||
229 | </taglib> |
||
230 | <taglib> |
||
231 | <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri> |
||
232 | <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location> |
||
233 | </taglib> |
||
234 | <taglib> |
||
235 | <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri> |
||
236 | <taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location> |
||
237 | </taglib> |
||
238 | <taglib> |
||
239 | <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri> |
||
240 | <taglib-location>/WEB-INF/tlds/struts-nested.tld</taglib-location> |
||
241 | </taglib> |
||
242 | <taglib> |
||
243 | <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri> |
||
244 | <taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location> |
||
245 | </taglib> |
||
246 | <jsp-property-group> |
||
247 | <description>Property group for common configuration for all the JSP's</description> |
||
248 | <url-pattern>*.jsp</url-pattern> |
||
249 | <page-encoding>UTF-8</page-encoding> |
||
250 | </jsp-property-group> |
||
251 | </jsp-config> |
||
252 | |||
253 | </web-app> |