-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstruts.xml
More file actions
31 lines (23 loc) · 840 Bytes
/
Copy pathstruts.xml
File metadata and controls
31 lines (23 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts SYSTEM "http://struts.apache.org/dtds/struts-2.5.dtd" >
<struts>
<!-- class="com.qzdatasoft.javaweb.StudentManagement"
method="addStu" -->
<package name="StudentInfo" extends="struts-default" >
<!-- 增加学生 -->
<action name="Add" class="StudentManagement"
method="addStu" >
<result name="success">/AddedStu.jsp</result>
</action>
<!-- 查看学生信息 -->
<action name="Query">
<result>/ShowInfo.jsp</result>
</action>
<!-- 删除学生 -->
<action name="Del" class="StudentManagement"
method="DelStu">
<result name="success">/DelSuccess.jsp</result>
<result name="failed">/DelFailed.jsp</result>
</action>
</package>
</struts>