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