日期:2014-05-17  浏览次数:20794 次

struts1 action问题~
比如下面一例:
  <action attribute="branchForm" 
  name="branchForm" 
  path="/branchDelete" //这个path什么含义,在地址栏里显示么,能举例下么?
  scope="request"
  type="com.asideal.struts.action.branch.BranchDeleteAction"
  validate="false">
  <set-property property="cancellable" value="true" />
  <forward name="success" path="/branch.do" /> //path这个.do转到哪里了,去哪看
  </action>


这个是struts2的:
  <action name="updateUser" 
  class="updateUserAction">
<result name="success" type="redirect">listUser.action</result> //这是struts2的
<result name="input">/update.jsp</result>
</action>

------解决方案--------------------
探讨
比如下面一例:
<action attribute="branchForm"
name="branchForm"
path="/branchDelete" //这个path什么含义,在地址栏里显示么,能举例下么?
scope="request"
type="com.asid……

------解决方案--------------------
这个PATH就是在访问此action时需要输入的路径。