Subversion Repositories bacoAlunos

Rev

Details | Last modification | View Log | RSS feed

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