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