Subversion Repositories bacoAlunos

Rev

Rev 1524 | Rev 1667 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1524 Rev 1576
Line 2... Line 2...
2
<web-app version="2.4"
2
<web-app version="2.4"
3
         xmlns="http://java.sun.com/xml/ns/j2ee"
3
         xmlns="http://java.sun.com/xml/ns/j2ee"
4
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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"  >
5
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"  >
6
 
6
 
-
 
7
 
7
    <!--<listener>
8
    <!--<listener>
8
        <listener-class>
9
        <listener-class>
9
            com.sun.xml.ws.transport.http.servlet.WSServletContextListener
10
            com.sun.xml.ws.transport.http.servlet.WSServletContextListener
10
        </listener-class>
11
        </listener-class>
11
    </listener>
12
    </listener>
Line 159... Line 160...
159
    </filter-mapping>
160
    </filter-mapping>
160
    <!---->
161
    <!---->
161
    <!--SERVLETS-->
162
    <!--SERVLETS-->
162
 
163
 
163
 
164
 
-
 
165
 
164
    <servlet>
166
    <servlet>
165
        <servlet-name>WsJson</servlet-name>
167
        <servlet-name>WsJson</servlet-name>
166
        <servlet-class>pt.estgp.estgweb.web.json.JsonHandler</servlet-class>
168
        <servlet-class>pt.estgp.estgweb.web.json.JsonHandler</servlet-class>
167
    </servlet>
169
    </servlet>
168
 
170
 
Line 174... Line 176...
174
        </servlet-class>
176
        </servlet-class>
175
        <load-on-startup>1</load-on-startup>
177
        <load-on-startup>1</load-on-startup>
176
    </servlet>
178
    </servlet>
177
    <!--SOAP Tutorial-->
179
    <!--SOAP Tutorial-->
178
 
180
 
-
 
181
    <!-- FILE UPLOAD MULTIPLE -->
-
 
182
    <servlet>
-
 
183
        <servlet-name>FilesUpload</servlet-name>
-
 
184
        <servlet-class>pt.estgp.estgweb.web.controllers.utils.MultiUploadServlet</servlet-class>
-
 
185
    </servlet>
-
 
186
 
179
 
187
 
180
    <servlet>
188
    <servlet>
181
        <servlet-name>action</servlet-name>
189
        <servlet-name>action</servlet-name>
182
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
190
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
183
        <init-param>
191
        <init-param>
Line 205... Line 213...
205
                /WEB-INF/struts/struts-processes.xml,
213
                /WEB-INF/struts/struts-processes.xml,
206
                /WEB-INF/struts/struts-configuration.xml,
214
                /WEB-INF/struts/struts-configuration.xml,
207
                /WEB-INF/struts/struts-pagecontent.xml,
215
                /WEB-INF/struts/struts-pagecontent.xml,
208
                /WEB-INF/struts/struts-pae.xml,
216
                /WEB-INF/struts/struts-pae.xml,
209
                /WEB-INF/struts/struts-pae-questionarios.xml,
217
                /WEB-INF/struts/struts-pae-questionarios.xml,
210
                /WEB-INF/struts/struts-pae-eventos.xml
218
                /WEB-INF/struts/struts-pae-eventos.xml,
-
 
219
                /WEB-INF/struts/struts-jsonwidget.xml,
-
 
220
                /WEB-INF/struts/examples/struts-example-jsonwidget.xml
211
            </param-value>
221
            </param-value>
212
        </init-param>
222
        </init-param>
213
        <init-param>
223
        <init-param>
214
            <param-name>debug</param-name>
224
            <param-name>debug</param-name>
215
            <param-value>2</param-value>
225
            <param-value>2</param-value>
Line 221... Line 231...
221
        <init-param>
231
        <init-param>
222
            <param-name>nocache</param-name>
232
            <param-name>nocache</param-name>
223
            <param-value>true</param-value>
233
            <param-value>true</param-value>
224
        </init-param>
234
        </init-param>
225
        <load-on-startup>2</load-on-startup>
235
        <load-on-startup>2</load-on-startup>
-
 
236
 
226
    </servlet>
237
    </servlet>
227
    <servlet>
238
    <servlet>
228
        <servlet-name>DirWebProxy</servlet-name>
239
        <servlet-name>DirWebProxy</servlet-name>
229
        <servlet-class>pt.estgp.estgweb.web.DirWebProxy</servlet-class>
240
        <servlet-class>pt.estgp.estgweb.web.DirWebProxy</servlet-class>
230
    </servlet>
241
    </servlet>
Line 325... Line 336...
325
        <url-pattern>/ws/siges</url-pattern>
336
        <url-pattern>/ws/siges</url-pattern>
326
    </servlet-mapping>
337
    </servlet-mapping>
327
 
338
 
328
    <!--SOAP Tutorial-->
339
    <!--SOAP Tutorial-->
329
 
340
 
-
 
341
    <!-- TODO MUDAR ISTO PARA APENAS AUTENTICADOS APOS O TESTE -->
-
 
342
    <servlet-mapping>
-
 
343
        <servlet-name>FilesUpload</servlet-name>
-
 
344
        <url-pattern>/filesUpload</url-pattern>
-
 
345
    </servlet-mapping>
-
 
346
 
330
 
347
 
331
    <servlet-mapping>
348
    <servlet-mapping>
332
        <servlet-name>action</servlet-name>
349
        <servlet-name>action</servlet-name>
333
        <url-pattern>*.do</url-pattern>
350
        <url-pattern>*.do</url-pattern>
334
    </servlet-mapping>
351
    </servlet-mapping>
Line 430... Line 447...
430
    <!--START FILES-->
447
    <!--START FILES-->
431
    <welcome-file-list>
448
    <welcome-file-list>
432
        <welcome-file>index.jsp</welcome-file>
449
        <welcome-file>index.jsp</welcome-file>
433
    </welcome-file-list>
450
    </welcome-file-list>
434
 
451
 
-
 
452
 
435
    <session-config>
453
    <session-config>
436
        <session-timeout>1</session-timeout>
454
        <session-timeout>1</session-timeout>
437
    </session-config>
455
    </session-config>
-
 
456
 
438
    <!--Errors-->
457
    <!--Errors-->
439
    <error-page>
458
    <error-page>
440
        <exception-type>pt.utl.ist.berserk.logic.serviceManager.exceptions.FilterChainFailedException</exception-type>
459
        <exception-type>pt.utl.ist.berserk.logic.serviceManager.exceptions.FilterChainFailedException</exception-type>
441
        <location>/error401.do</location>
460
        <location>/error401.do</location>
442
    </error-page>
461
    </error-page>
Line 491... Line 510...
491
    <error-page>
510
    <error-page>
492
        <error-code>503</error-code>
511
        <error-code>503</error-code>
493
        <location>/error503.do</location>
512
        <location>/error503.do</location>
494
    </error-page>
513
    </error-page>
495
 
514
 
-
 
515
 
496
    <!--TLDS-->
516
    <!--TLDS-->
497
    <jsp-config>
517
    <jsp-config>
498
        <taglib>
518
        <taglib>
499
            <taglib-uri>/WEB-INF/tlds/jomm.tld</taglib-uri>
519
            <taglib-uri>/WEB-INF/tlds/jomm.tld</taglib-uri>
500
            <taglib-location>/WEB-INF/tlds/jomm.tld</taglib-location>
520
            <taglib-location>/WEB-INF/tlds/jomm.tld</taglib-location>
Line 557... Line 577...
557
            <url-pattern>*.jsp</url-pattern>
577
            <url-pattern>*.jsp</url-pattern>
558
            <page-encoding>UTF-8</page-encoding>
578
            <page-encoding>UTF-8</page-encoding>
559
        </jsp-property-group>
579
        </jsp-property-group>
560
    </jsp-config>
580
    </jsp-config>
561
 
581
 
-
 
582
 
562
</web-app>
583
</web-app>