Subversion Repositories WebE

Rev

Rev 19 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

1
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">

<struts>

        <package name="default" extends="hibernate-default">
               
                <action name="LoginDo" class="ch.ffhs.webE.action.LoginAction">
                        <result name="success" type="redirect">/user_index.jsp</result>
                        <result name="failed" type="redirect">/index.jsp</result>
                </action>
               
                <action name="addUser" method="add" class="ch.ffhs.webE.web.UserAction">
                        <result name="success" type="redirect">listUser</result>
                </action>
                <action name="listUser" method="list" class="ch.ffhs.webE.web.UserAction">
                        <result name="success">/register.jsp</result>
                </action>
        </package>
</struts>