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