success.jsp//表单部分
<html:form action="/ab" >
  <html:submit property="tion">
    <bean:message key="remove"/>
  </html:submit >
  <html:submit  property="tion">
    <bean:message key="edit"/>
  </html:submit>
  <html:submit  property="tion">
    <bean:message key="add"/>
  </html:submit>
</html:form>---------------------------------------
Struts-config.xml///
<action   input="/success.jsp" parameter="tion" path="/ab" type="defaction.AbAction" scope="request">
      <forward name="add" path="/list.jsp"/>
      <forward name="edit" path="/edit.jsp"/>
      <forward name="back" path="/success.jsp"/>
    </action>
提示错误:javax.servlet.ServletException: Cannot retrieve definition for form bean null on action /ab
研究拉很久就是无法解决,郁闷但是如果将表单部分改成:
<form action="/def/ab.as" >
    <input type="submit" name="tion" value="<bean:message key="remove"/>"/>
    <input type="submit" name="tion" value="<bean:message key="add"/>"/>
    <input type="submit" name="tion" value="<bean:message key="edit"/>"/>
    </form>
就可以正常使用,就是不知道问题出在哪,请大家帮帮忙!!!!