Blame |
Last modification |
View Log
| RSS feed
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
"http://struts.apache.org/dtds/struts-config_1_3.dtd">
<struts-config>
<form-beans>
<!-- Import -->
<form-bean type="pt.estgp.es.exemplos.hibernate.web.login.LoginForm" name="LoginForm"/>
<!--<form-bean type="com.innovkey.opt.imports.web.ImportForm" name="ImportForm"/>-->
</form-beans>
<global-exceptions>
</global-exceptions>
<global-forwards>
</global-forwards>
<action-mappings>
<!--Portal Forward-->
<action path="/home" forward="page.home"/>
<action path="/apresentaPagina" forward="page.pagina"/>
<!--Authentication-->
<!-- <action path="/authenticate"
type="pt.estgp.estgweb.web.controllers.authenticate.AuthenticateController"
name="EmptyForm"
scope="request"
parameter="dispatch"
validate="false"
input="page.authentication">
<forward name="success" path="page.separators.home"/>
<forward name="logout" path="page.authentication"/>
<forward name="firstTimeAuthenticate" path="page.first.time.authenticate"/>
</action>-->
<action path="/login"
type="pt.estgp.es.exemplos.hibernate.web.login.LoginAction"
name="LoginForm"
scope="request"
parameter="dispatch"
validate="false"
input="page.home">
<forward name="ok" path="page.home"/>
<forward name="fail" path="page.home"/>
</action>
</action-mappings>
<!--20 Megabytes upload max size can go until 700 MB nao se sabe porque
pontos possiveis de ajuste Fazer um UPLOAD Servlet
ver mais em app.properties max.file.size.upload.mbytes
aqui esta 50 para permitir ao App controlar e poder ser aumentado nao sendo afetado por este parametro
-->
<controller maxFileSize="50971520" processorClass="org.apache.struts.tiles.TilesRequestProcessor" />
<!--<message-resources parameter="MessageResources"/>-->
<!--<message-resources parameter="MessageResources" factory="pt.estgp.estgweb.domain.utils.ReloadablePropertyMessageResourcesFactory"/>-->
<plug-in className="org.apache.struts.tiles.TilesPlugin">
<set-property property="definitions-config" value="/WEB-INF/tiles-default.xml"/>
</plug-in>
</struts-config>