67,513
社区成员
发帖
与我相关
我的任务
分享
<action name="updatePStudent" class="updatePAction">
<result >updateStudentAction.action</result>
</action>
<action name="updateStudentAction" class="updateStudentAction">
<result type="redirect">/listStudent.action</result>
<result name="input">/update.jsp</result>
</action>
<s:iterator value="#request.list" id="us" >
<tr>
<td><s:property value="#us.id"/></td>
<td><s:property value="#us.name"/></td>
<td><s:property value="#us.password"/></td>
<td><s:property value="#us.age"/></td>
<td><s:a href="deleteStudent.action?student.id=%{#us.id}" onclick="return dell();" >delete</s:a></td>
<td><s:a href="updatePStudent.action?student.id=%{#us.id}">update</s:a></td>
</tr>
</s:iterator>
<bean id="updatePAction" class="action.updatePStudentAction" scope="prototype">
<property name="studentService" ref="studentService"/>
</bean>
<bean id="updateStudentAction" class="action.updateStudentAction" scope="prototype">
<property name="studentService" ref="studentService"/>
</bean>