码迷,mamicode.com
首页 > Web开发 > 详细

通过sping3 +Hibernate4+StrutsMVC实现 考试管理系统 逻辑 一 --Struts配置

时间:2016-07-02 17:34:02      阅读:176      评论:0      收藏:0      [点我收藏+]

标签:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd">
<struts>
<package name="default" extends="struts-default">
<action name="user_register" class="userAction" method="add">
<result name="ok">/index.jsp</result>
</action>
<action name="user_login" class="userAction" method="login">
<result name="ok">/welcome.jsp</result>
<result name="on">/index.jsp</result>
</action>
<action name="user_update" class="userAction" method="update">
<result name="ok">/update1.jsp</result>
<result name="on">/update.jsp</result>
</action>
<action name="user_update1" class="userAction" method="update1">
<result name="ok">/index.jsp</result>
<result name="on">/update1.jsp</result>
</action>

<!-- 试卷的 -->
<action name="questions_add" class="questionsAction" method="add">
<result name="ok">/two.html</result>
</action>
<action name="questions_show" class="questionsAction" method="show">
<result name="ok">/one1.jsp</result>
</action>
<action name="questions_five" class="questionsAction" method="show">
<result name="ok">/five1.jsp</result>
</action>
<action name="questions_update" class="questionsAction" method="update">
<result name="ok">/five.jsp</result>
</action>

<!-- 分数的 -->
<action name="fraction_add" class="fractionAction" method="add">
<result name="ok">/one.jsp</result>
</action>
<action name="fraction_show" class="fractionAction" method="show">
<result name="ok">/three.jsp</result>
</action>
</package>
</struts>

 

通过sping3 +Hibernate4+StrutsMVC实现 考试管理系统 逻辑 一 --Struts配置

标签:

原文地址:http://www.cnblogs.com/PeachLuffy/p/5635574.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!