Subversion Repositories bacoAlunos

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2005 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.es.exemplos.hibernate.web.login.LoginForm" name="LoginForm"/>
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.login"/>
31
 
32
        <action path="/apresentaPagina" forward="page.pagina"/>
33
 
34
 
35
        <!--Authentication-->
36
        <!--  <action path="/authenticate"
37
                  type="pt.estgp.estgweb.web.controllers.authenticate.AuthenticateController"
38
                  name="EmptyForm"
39
                  scope="request"
40
                  parameter="dispatch"
41
                  validate="false"
42
                  input="page.authentication">
43
              <forward name="success" path="page.separators.home"/>
44
              <forward name="logout" path="page.authentication"/>
45
              <forward name="firstTimeAuthenticate" path="page.first.time.authenticate"/>
46
          </action>-->
47
 
48
 
49
        <action path="/login"
50
                type="pt.estgp.es.exemplos.hibernate.web.login.LoginAction"
51
                name="LoginForm"
52
                scope="request"
53
                parameter="dispatch"
54
                validate="false"
55
                input="page.home">
56
            <forward name="ok" path="page.home"/>
57
            <forward name="fail" path="page.home"/>
58
        </action>
59
 
60
 
61
 
62
 
63
 
64
    </action-mappings>
65
    <!--20 Megabytes upload max size can go until 700 MB nao se sabe porque
66
        pontos possiveis de ajuste Fazer um UPLOAD Servlet
67
        ver mais em app.properties max.file.size.upload.mbytes
68
 
69
        aqui esta 50 para permitir ao App controlar e poder ser aumentado nao sendo afetado por este parametro
70
    -->
71
    <controller maxFileSize="50971520" processorClass="org.apache.struts.tiles.TilesRequestProcessor" />
72
    <!--<message-resources parameter="MessageResources"/>-->
73
    <!--<message-resources parameter="MessageResources" factory="pt.estgp.estgweb.domain.utils.ReloadablePropertyMessageResourcesFactory"/>-->
74
 
75
 
76
    <plug-in className="org.apache.struts.tiles.TilesPlugin">
77
        <set-property property="definitions-config" value="/WEB-INF/tiles-default.xml"/>
78
    </plug-in>
79
 
80
 
81
</struts-config>