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