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