Subversion Repositories bacoAlunos

Rev

Rev 75 | Blame | Compare with Previous | 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>
       <form-bean type="pt.estgp.estgweb.web.form.blog.BlogForm" name="BlogForm"/>
    </form-beans>

    <global-exceptions>

    </global-exceptions>

    <global-forwards>

    </global-forwards>


    <action-mappings>

         <!--Authentication-->
        <action path="/startSubmitBlog" forward="/loadBlog.do?dispatch=start"/>
        <action path="/submitBlog"
               type="pt.estgp.estgweb.web.controllers.blog.BlogController"
               name="BlogForm"
               scope="request"
               parameter="dispatch"
               validate="false"
               input="page.submit.blog">
            <forward name="success" path="page.load.blog"/>
        </action>
        <action path="/loadBlog"
               type="pt.estgp.estgweb.web.controllers.blog.BlogController"
               name="BlogForm"
               scope="request"
               parameter="dispatch"
               validate="false"
               input="page.welcome">
            <forward name="success" path="page.load.blog"/>
            <forward name="submit" path="page.submit.blog"/>
        </action>
    </action-mappings>
</struts-config>