Rev 2018 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2009 | es | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | |||
3 | <!DOCTYPE struts-config PUBLIC |
||
4 | "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" |
||
5 | "http://struts.apache.org/dtds/struts-config_1_3.dtd"> |
||
6 | |||
7 | <struts-config> |
||
8 | |||
9 | |||
10 | <form-beans> |
||
11 | <!-- Import --> |
||
12 | <!--<form-bean type="pt.estgp.estgweb.web.form.announcements.AnnouncementsForm" name="AnnouncementsForm"/>--> |
||
13 | <!--<form-bean type="com.innovkey.opt.imports.web.ImportForm" name="ImportForm"/>--> |
||
14 | </form-beans> |
||
15 | |||
16 | <global-exceptions> |
||
17 | |||
18 | </global-exceptions> |
||
19 | |||
20 | <global-forwards> |
||
21 | |||
22 | </global-forwards> |
||
23 | |||
24 | |||
25 | |||
26 | <action-mappings> |
||
27 | |||
28 | |||
29 | <!--Portal Forward--> |
||
30 | <action path="/home" forward="page.home"/> |
||
31 | <action path="/login" forward="page.login"/> |
||
32 | |||
33 | <!--Authentication--> |
||
34 | <!-- <action path="/authenticate" |
||
35 | type="pt.estgp.estgweb.web.controllers.authenticate.AuthenticateController" |
||
36 | name="EmptyForm" |
||
37 | scope="request" |
||
38 | parameter="dispatch" |
||
39 | validate="false" |
||
40 | input="page.authentication"> |
||
41 | <forward name="success" path="page.separators.home"/> |
||
42 | <forward name="logout" path="page.authentication"/> |
||
43 | <forward name="firstTimeAuthenticate" path="page.first.time.authenticate"/> |
||
44 | </action>--> |
||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | </action-mappings> |
||
51 | <!--20 Megabytes upload max size can go until 700 MB nao se sabe porque |
||
52 | pontos possiveis de ajuste Fazer um UPLOAD Servlet |
||
53 | ver mais em app.properties max.file.size.upload.mbytes |
||
54 | |||
55 | aqui esta 50 para permitir ao App controlar e poder ser aumentado nao sendo afetado por este parametro |
||
56 | --> |
||
57 | <controller maxFileSize="50971520" processorClass="org.apache.struts.tiles.TilesRequestProcessor" /> |
||
58 | <!--<message-resources parameter="MessageResources"/>--> |
||
59 | <!--<message-resources parameter="MessageResources" factory="pt.estgp.estgweb.domain.utils.ReloadablePropertyMessageResourcesFactory"/>--> |
||
60 | |||
61 | |||
62 | <plug-in className="org.apache.struts.tiles.TilesPlugin"> |
||
63 | <set-property property="definitions-config" value="/WEB-INF/tiles-default.xml"/> |
||
64 | </plug-in> |
||
65 | |||
66 | |||
67 | </struts-config> |