Rev 808 | Rev 851 | 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 | <filter> |
||
406 | jmachado | 8 | <filter-name>RequestedUrlFilter</filter-name> |
9 | <filter-class>pt.estgp.estgweb.web.filters.RequestURLFilter</filter-class> |
||
10 | </filter> |
||
11 | <filter> |
||
150 | jmachado | 12 | <filter-name>CookieFilter</filter-name> |
13 | <filter-class>pt.estgp.estgweb.web.filters.CookieFilter</filter-class> |
||
14 | </filter> |
||
15 | <filter> |
||
1 | fvelez | 16 | <filter-name>UserSessionFilter</filter-name> |
17 | <filter-class>pt.estgp.estgweb.web.filters.UserSessionFilter</filter-class> |
||
18 | </filter> |
||
19 | <filter> |
||
279 | jmachado | 20 | <filter-name>TopImageFilter</filter-name> |
21 | <filter-class>pt.estgp.estgweb.web.filters.TopImageFilter</filter-class> |
||
22 | </filter> |
||
23 | <filter> |
||
396 | jmachado | 24 | <filter-name>TopImageDirectoryFilter</filter-name> |
25 | <filter-class>pt.estgp.estgweb.web.filters.TopImageDirectoryFilter</filter-class> |
||
26 | </filter> |
||
27 | <filter> |
||
1 | fvelez | 28 | <filter-name>UserFilter</filter-name> |
29 | <filter-class>pt.estgp.estgweb.web.filters.UserFilter</filter-class> |
||
30 | </filter> |
||
31 | <filter> |
||
32 | <filter-name>AdminFilter</filter-name> |
||
25 | fvelez | 33 | <filter-class>pt.estgp.estgweb.web.filters.AdminFilter</filter-class> |
1 | fvelez | 34 | </filter> |
35 | <filter> |
||
36 | <filter-name>Set-Character-Encoding</filter-name> |
||
37 | <filter-class>jomm.web.filter.SetCharacterEncodingFilter</filter-class> |
||
38 | <init-param> |
||
39 | <param-name>encoding</param-name> |
||
40 | <param-value>UTF-8</param-value> |
||
41 | </init-param> |
||
42 | </filter> |
||
12 | jmachado | 43 | <filter> |
44 | <filter-name>UrlStatFilter</filter-name> |
||
45 | <filter-class>pt.estgp.estgweb.web.filters.UrlStatFilter</filter-class> |
||
46 | </filter> |
||
25 | fvelez | 47 | <filter> |
48 | <filter-name>RelativePathFilter</filter-name> |
||
49 | <filter-class>pt.estgp.estgweb.web.filters.RelativePathFilter</filter-class> |
||
50 | </filter> |
||
51 | |||
1 | fvelez | 52 | <filter-mapping> |
150 | jmachado | 53 | <filter-name>CookieFilter</filter-name> |
54 | <url-pattern>/*</url-pattern> |
||
55 | </filter-mapping> |
||
56 | <filter-mapping> |
||
406 | jmachado | 57 | <filter-name>RequestedUrlFilter</filter-name> |
58 | <url-pattern>/*</url-pattern> |
||
59 | </filter-mapping> |
||
60 | <filter-mapping> |
||
279 | jmachado | 61 | <filter-name>TopImageFilter</filter-name> |
62 | <url-pattern>/*</url-pattern> |
||
63 | </filter-mapping> |
||
64 | <filter-mapping> |
||
1 | fvelez | 65 | <filter-name>Set-Character-Encoding</filter-name> |
66 | <url-pattern>/*</url-pattern> |
||
67 | </filter-mapping> |
||
68 | <filter-mapping> |
||
69 | <filter-name>UserSessionFilter</filter-name> |
||
70 | <url-pattern>/*</url-pattern> |
||
71 | </filter-mapping> |
||
72 | <filter-mapping> |
||
73 | <filter-name>UserFilter</filter-name> |
||
74 | <url-pattern>/user/*</url-pattern> |
||
75 | </filter-mapping> |
||
12 | jmachado | 76 | <filter-mapping> |
165 | jmachado | 77 | <filter-name>UserFilter</filter-name> |
385 | jmachado | 78 | <url-pattern>/dir/utilsIntranet/*</url-pattern> |
79 | </filter-mapping> |
||
80 | <filter-mapping> |
||
81 | <filter-name>UserFilter</filter-name> |
||
165 | jmachado | 82 | <url-pattern>/proxy/layoutIOnline/*</url-pattern> |
83 | </filter-mapping> |
||
84 | <filter-mapping> |
||
222 | jmachado | 85 | <filter-name>UserFilter</filter-name> |
86 | <url-pattern>/proxy/layoutIntranetUtils/*</url-pattern> |
||
87 | </filter-mapping> |
||
88 | <filter-mapping> |
||
223 | jmachado | 89 | <filter-name>UserFilter</filter-name> |
249 | jmachado | 90 | <url-pattern>/proxy/layoutIntranetUtilsOrg/*</url-pattern> |
91 | </filter-mapping> |
||
92 | <filter-mapping> |
||
93 | <filter-name>UserFilter</filter-name> |
||
94 | <url-pattern>/proxy/layoutIntranetUtilsSecretaria/*</url-pattern> |
||
95 | </filter-mapping> |
||
96 | <filter-mapping> |
||
97 | <filter-name>UserFilter</filter-name> |
||
98 | <url-pattern>/proxy/layoutIntranetUtilsEnsino/*</url-pattern> |
||
99 | </filter-mapping> |
||
100 | <filter-mapping> |
||
101 | <filter-name>UserFilter</filter-name> |
||
102 | <url-pattern>/proxy/layoutIntranetUtilsHorarios/*</url-pattern> |
||
103 | </filter-mapping> |
||
104 | <filter-mapping> |
||
105 | <filter-name>UserFilter</filter-name> |
||
106 | <url-pattern>/proxy/layoutIntranetUtilsBolonha/*</url-pattern> |
||
107 | </filter-mapping> |
||
108 | <filter-mapping> |
||
109 | <filter-name>UserFilter</filter-name> |
||
223 | jmachado | 110 | <url-pattern>/courseunitproxy/*</url-pattern> |
111 | </filter-mapping> |
||
112 | <filter-mapping> |
||
25 | fvelez | 113 | <filter-name>RelativePathFilter</filter-name> |
12 | jmachado | 114 | <url-pattern>/*</url-pattern> |
115 | </filter-mapping> |
||
25 | fvelez | 116 | <filter-mapping> |
183 | jmachado | 117 | <filter-name>UrlStatFilter</filter-name> |
118 | <url-pattern>/*</url-pattern> |
||
119 | </filter-mapping> |
||
120 | <filter-mapping> |
||
25 | fvelez | 121 | <filter-name>AdminFilter</filter-name> |
122 | <url-pattern>/admin/*</url-pattern> |
||
123 | </filter-mapping> |
||
1 | fvelez | 124 | <!----> |
125 | <!--SERVLETS--> |
||
126 | <servlet> |
||
127 | <servlet-name>action</servlet-name> |
||
128 | <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> |
||
129 | <init-param> |
||
130 | <param-name>config</param-name> |
||
131 | <param-value> |
||
132 | /WEB-INF/struts/struts-default.xml, |
||
808 | jmachado | 133 | /WEB-INF/struts/struts-assessment.xml, |
1 | fvelez | 134 | /WEB-INF/struts/struts-announcements.xml, |
135 | /WEB-INF/struts/struts-banners.xml, |
||
136 | /WEB-INF/struts/struts-courseunits.xml, |
||
214 | jmachado | 137 | /WEB-INF/struts/struts-courses.xml, |
1 | fvelez | 138 | /WEB-INF/struts/struts-events.xml, |
139 | /WEB-INF/struts/struts-ftpclient.xml, |
||
140 | /WEB-INF/struts/struts-processworkflow.xml, |
||
215 | jmachado | 141 | /WEB-INF/struts/struts-profile.xml, |
75 | jmachado | 142 | /WEB-INF/struts/struts-urlstat.xml, |
92 | jmachado | 143 | /WEB-INF/struts/struts-blog.xml, |
152 | jmachado | 144 | /WEB-INF/struts/struts-commons.xml, |
163 | jmachado | 145 | /WEB-INF/struts/struts-intranet.xml, |
215 | jmachado | 146 | /WEB-INF/struts/struts-reminders.xml, |
456 | jmachado | 147 | /WEB-INF/struts/struts-managedidentifier.xml, |
673 | jmachado | 148 | /WEB-INF/struts/struts-srusource.xml, |
726 | jmachado | 149 | /WEB-INF/struts/struts-survey.xml, <!-- Duarte Santos --> |
150 | /WEB-INF/struts/struts-comunicationfolder.xml |
||
1 | fvelez | 151 | </param-value> |
152 | </init-param> |
||
153 | <init-param> |
||
154 | <param-name>debug</param-name> |
||
155 | <param-value>2</param-value> |
||
156 | </init-param> |
||
157 | <init-param> |
||
158 | <param-name>detail</param-name> |
||
159 | <param-value>2</param-value> |
||
160 | </init-param> |
||
161 | <init-param> |
||
162 | <param-name>nocache</param-name> |
||
163 | <param-value>true</param-value> |
||
164 | </init-param> |
||
165 | <load-on-startup>2</load-on-startup> |
||
166 | </servlet> |
||
167 | <servlet> |
||
368 | jmachado | 168 | <servlet-name>DirWebProxy</servlet-name> |
169 | <servlet-class>pt.estgp.estgweb.web.DirWebProxy</servlet-class> |
||
170 | </servlet> |
||
171 | <servlet> |
||
1 | fvelez | 172 | <servlet-name>WebProxy</servlet-name> |
173 | <servlet-class>pt.estgp.estgweb.web.WebProxy</servlet-class> |
||
174 | </servlet> |
||
29 | jmachado | 175 | <!--<servlet>--> |
176 | <!--<servlet-name>HTTPProxy</servlet-name>--> |
||
177 | <!--<servlet-class>pt.estgp.estgweb.web.TmpStream</servlet-class>--> |
||
178 | <!--</servlet>--> |
||
179 | <!--<servlet>--> |
||
180 | <!--<servlet-name>FTPProxy</servlet-name>--> |
||
181 | <!--<servlet-class>pt.estgp.estgweb.web.FTPProxy</servlet-class>--> |
||
182 | <!--</servlet>--> |
||
1 | fvelez | 183 | <servlet> |
368 | jmachado | 184 | <servlet-name>DirProxy</servlet-name> |
185 | <servlet-class>pt.estgp.estgweb.web.DirProxy</servlet-class> |
||
186 | </servlet> |
||
187 | <servlet> |
||
1 | fvelez | 188 | <servlet-name>LayoutProxy</servlet-name> |
372 | jmachado | 189 | <servlet-class>pt.estgp.estgweb.web.LayoutProxy</servlet-class> |
1 | fvelez | 190 | </servlet> |
18 | jmachado | 191 | <servlet> |
223 | jmachado | 192 | <servlet-name>CourseUnitLayoutProxy</servlet-name> |
193 | <servlet-class>pt.estgp.estgweb.web.controllers.courseunits.CourseUnitLayoutProxy</servlet-class> |
||
194 | </servlet> |
||
195 | <servlet> |
||
249 | jmachado | 196 | <servlet-name>StartPathLayoutProxy</servlet-name> |
197 | <servlet-class>pt.estgp.estgweb.web.StartPathLayoutProxy</servlet-class> |
||
198 | </servlet> |
||
199 | <servlet> |
||
18 | jmachado | 200 | <servlet-name>tmpStream</servlet-name> |
201 | <servlet-class>pt.estgp.estgweb.web.TmpStream</servlet-class> |
||
202 | </servlet> |
||
48 | fvelez | 203 | <servlet> |
204 | <servlet-name>imageStream</servlet-name> |
||
205 | <servlet-class>pt.estgp.estgweb.web.ImageStream</servlet-class> |
||
206 | </servlet> |
||
187 | jmachado | 207 | <servlet> |
208 | <servlet-name>BlogServlet</servlet-name> |
||
209 | <servlet-class>pt.estgp.estgweb.web.controllers.blogs.BlogServlet</servlet-class> |
||
210 | </servlet> |
||
204 | jmachado | 211 | <servlet> |
212 | <servlet-name>repositoryStream</servlet-name> |
||
213 | <servlet-class>pt.estgp.estgweb.web.RepositoryStream</servlet-class> |
||
214 | </servlet> |
||
430 | jmachado | 215 | <servlet> |
760 | jmachado | 216 | <servlet-name>repositoryStreamVersion</servlet-name> |
217 | <servlet-class>pt.estgp.estgweb.web.RepositoryStreamVersion</servlet-class> |
||
218 | </servlet> |
||
219 | <servlet> |
||
430 | jmachado | 220 | <servlet-name>ServicosImpressao</servlet-name> |
221 | <servlet-class>pt.estgp.estgweb.web.ajaxapis.ServicosImpressao</servlet-class> |
||
222 | </servlet> |
||
1 | fvelez | 223 | |
112 | jmachado | 224 | |
187 | jmachado | 225 | |
1 | fvelez | 226 | <!--MAPPINGS--> |
227 | <servlet-mapping> |
||
228 | <servlet-name>action</servlet-name> |
||
229 | <url-pattern>*.do</url-pattern> |
||
230 | </servlet-mapping> |
||
231 | <servlet-mapping> |
||
368 | jmachado | 232 | <servlet-name>DirWebProxy</servlet-name> |
233 | <url-pattern>/DirWebProxy</url-pattern> |
||
234 | </servlet-mapping> |
||
235 | <servlet-mapping> |
||
1 | fvelez | 236 | <servlet-name>WebProxy</servlet-name> |
237 | <url-pattern>/WebProxy</url-pattern> |
||
238 | </servlet-mapping> |
||
29 | jmachado | 239 | <!--<servlet-mapping>--> |
240 | <!--<servlet-name>HTTPProxy</servlet-name>--> |
||
241 | <!--<url-pattern>/HTTPProxy</url-pattern>--> |
||
242 | <!--</servlet-mapping>--> |
||
243 | <!--<servlet-mapping>--> |
||
244 | <!--<servlet-name>FTPProxy</servlet-name>--> |
||
245 | <!--<url-pattern>/FTPProxy</url-pattern>--> |
||
246 | <!--</servlet-mapping>--> |
||
1 | fvelez | 247 | <servlet-mapping> |
368 | jmachado | 248 | <servlet-name>DirProxy</servlet-name> |
249 | <url-pattern>/dir/*</url-pattern> |
||
250 | </servlet-mapping> |
||
251 | <servlet-mapping> |
||
1 | fvelez | 252 | <servlet-name>LayoutProxy</servlet-name> |
253 | <url-pattern>/proxy/*</url-pattern> |
||
254 | </servlet-mapping> |
||
18 | jmachado | 255 | <servlet-mapping> |
223 | jmachado | 256 | <servlet-name>CourseUnitLayoutProxy</servlet-name> |
257 | <url-pattern>/courseunitproxy/*</url-pattern> |
||
258 | </servlet-mapping> |
||
259 | <servlet-mapping> |
||
249 | jmachado | 260 | <servlet-name>StartPathLayoutProxy</servlet-name> |
261 | <url-pattern>/startpathproxy/*</url-pattern> |
||
262 | </servlet-mapping> |
||
263 | <servlet-mapping> |
||
18 | jmachado | 264 | <servlet-name>tmpStream</servlet-name> |
265 | <url-pattern>/tmpStream/*</url-pattern> |
||
266 | </servlet-mapping> |
||
48 | fvelez | 267 | <servlet-mapping> |
268 | <servlet-name>imageStream</servlet-name> |
||
269 | <url-pattern>/imageStream/*</url-pattern> |
||
270 | </servlet-mapping> |
||
187 | jmachado | 271 | <servlet-mapping> |
204 | jmachado | 272 | <servlet-name>repositoryStream</servlet-name> |
273 | <url-pattern>/repositoryStream/*</url-pattern> |
||
274 | </servlet-mapping> |
||
275 | <servlet-mapping> |
||
760 | jmachado | 276 | <servlet-name>repositoryStreamVersion</servlet-name> |
277 | <url-pattern>/repositoryStreamVersion/*</url-pattern> |
||
278 | </servlet-mapping> |
||
279 | <servlet-mapping> |
||
187 | jmachado | 280 | <servlet-name>BlogServlet</servlet-name> |
281 | <url-pattern>/blog/*</url-pattern> |
||
282 | </servlet-mapping> |
||
202 | jmachado | 283 | <servlet-mapping> |
284 | <servlet-name>BlogServlet</servlet-name> |
||
285 | <url-pattern>/blogger/*</url-pattern> |
||
286 | </servlet-mapping> |
||
287 | <servlet-mapping> |
||
288 | <servlet-name>BlogServlet</servlet-name> |
||
289 | <url-pattern>/blogspot/*</url-pattern> |
||
290 | </servlet-mapping> |
||
430 | jmachado | 291 | <servlet-mapping> |
292 | <servlet-name>ServicosImpressao</servlet-name> |
||
293 | <url-pattern>/user/ajaxapis/ServicosImpressao</url-pattern> |
||
294 | </servlet-mapping> |
||
1 | fvelez | 295 | |
577 | jmachado | 296 | |
1 | fvelez | 297 | <!--START FILES--> |
298 | <welcome-file-list> |
||
299 | <welcome-file>index.jsp</welcome-file> |
||
300 | </welcome-file-list> |
||
301 | |||
168 | fvelez | 302 | <session-config> |
303 | <session-timeout>1</session-timeout> |
||
304 | </session-config> |
||
1 | fvelez | 305 | <!--Errors--> |
306 | <error-page> |
||
307 | <exception-type>pt.utl.ist.berserk.logic.serviceManager.exceptions.FilterChainFailedException</exception-type> |
||
308 | <location>/error401.do</location> |
||
309 | </error-page> |
||
310 | <error-page> |
||
311 | <exception-type>pt.estgp.estgweb.web.exceptions.NoCookiesException</exception-type> |
||
312 | <location>/errorNoCookies.do</location> |
||
313 | </error-page> |
||
314 | <error-page> |
||
223 | jmachado | 315 | <exception-type>pt.estgp.estgweb.web.exceptions.InternalException</exception-type> |
1 | fvelez | 316 | <location>/error401.do</location> |
317 | </error-page> |
||
318 | <error-page> |
||
319 | <exception-type>java.lang.OutOfMemoryError</exception-type> |
||
320 | <location>/error500.do</location> |
||
321 | </error-page> |
||
322 | <error-page> |
||
202 | jmachado | 323 | <exception-type>pt.estgp.estgweb.filters.exceptions.NotFoundException</exception-type> |
324 | <location>/error404.do</location> |
||
325 | </error-page> |
||
326 | <error-page> |
||
1 | fvelez | 327 | <exception-type>java.io.FileNotFoundException</exception-type> |
328 | <location>/error404.do</location> |
||
329 | </error-page> |
||
330 | <error-page> |
||
331 | <exception-type>java.io.IOException</exception-type> |
||
332 | <location>/error500.do</location> |
||
333 | </error-page> |
||
334 | <error-page> |
||
335 | <exception-type>java.lang.Throwable</exception-type> |
||
336 | <location>/error500.do</location> |
||
337 | </error-page> |
||
338 | <error-page> |
||
339 | <error-code>401</error-code> |
||
340 | <location>/error401.do</location> |
||
341 | </error-page> |
||
342 | <error-page> |
||
343 | <error-code>404</error-code> |
||
344 | <location>/error404.do</location> |
||
345 | </error-page> |
||
346 | <error-page> |
||
347 | <error-code>500</error-code> |
||
348 | <location>/error500.do</location> |
||
349 | </error-page> |
||
336 | jmachado | 350 | <error-page> |
351 | <error-code>503</error-code> |
||
352 | <location>/error503.do</location> |
||
353 | </error-page> |
||
1 | fvelez | 354 | |
355 | <!--TLDS--> |
||
356 | <jsp-config> |
||
357 | <taglib> |
||
844 | jmachado | 358 | <taglib-uri>/WEB-INF/tlds/jomm.tld</taglib-uri> |
359 | <taglib-location>/WEB-INF/tlds/jomm.tld</taglib-location> |
||
360 | </taglib> |
||
361 | <taglib> |
||
362 | <taglib-uri>/WEB-INF/tlds/baco.tld</taglib-uri> |
||
363 | <taglib-location>/WEB-INF/tlds/baco.tld</taglib-location> |
||
364 | </taglib> |
||
365 | <taglib> |
||
366 | <taglib-uri>/WEB-INF/tlds/struts-bean.tld</taglib-uri> |
||
367 | <taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location> |
||
368 | </taglib> |
||
369 | <taglib> |
||
370 | <taglib-uri>/WEB-INF/tlds/struts-html.tld</taglib-uri> |
||
371 | <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location> |
||
372 | </taglib> |
||
373 | <taglib> |
||
374 | <taglib-uri>/WEB-INF/tlds/struts-logic.tld</taglib-uri> |
||
375 | <taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location> |
||
376 | </taglib> |
||
377 | <taglib> |
||
378 | <taglib-uri>/WEB-INF/tlds/struts-nested.tld</taglib-uri> |
||
379 | <taglib-location>/WEB-INF/tlds/struts-nested.tld</taglib-location> |
||
380 | </taglib> |
||
381 | <taglib> |
||
382 | <taglib-uri>/WEB-INF/tlds/struts-tiles.tld</taglib-uri> |
||
383 | <taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location> |
||
384 | </taglib> |
||
385 | |||
386 | <taglib> |
||
1 | fvelez | 387 | <taglib-uri>/WEB-INF/jomm.tld</taglib-uri> |
388 | <taglib-location>/WEB-INF/tlds/jomm.tld</taglib-location> |
||
389 | </taglib> |
||
390 | <taglib> |
||
163 | jmachado | 391 | <taglib-uri>/WEB-INF/baco.tld</taglib-uri> |
392 | <taglib-location>/WEB-INF/tlds/baco.tld</taglib-location> |
||
1 | fvelez | 393 | </taglib> |
394 | <taglib> |
||
395 | <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri> |
||
396 | <taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location> |
||
397 | </taglib> |
||
398 | <taglib> |
||
399 | <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri> |
||
400 | <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location> |
||
401 | </taglib> |
||
402 | <taglib> |
||
403 | <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri> |
||
404 | <taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location> |
||
405 | </taglib> |
||
406 | <taglib> |
||
407 | <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri> |
||
408 | <taglib-location>/WEB-INF/tlds/struts-nested.tld</taglib-location> |
||
409 | </taglib> |
||
410 | <taglib> |
||
411 | <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri> |
||
412 | <taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location> |
||
413 | </taglib> |
||
414 | <jsp-property-group> |
||
415 | <description>Property group for common configuration for all the JSP's</description> |
||
416 | <url-pattern>*.jsp</url-pattern> |
||
417 | <page-encoding>UTF-8</page-encoding> |
||
418 | </jsp-property-group> |
||
419 | </jsp-config> |
||
420 | |||
421 | </web-app> |