<action name="*User" class="cn.bdqn.houserent.action.UserAction" method="{1}">
<result type="redirectAction" >${next}</result>
<result name="input" type="dispatcher" >/page/{1}.jsp</result>
</action>
第二行红线并且错误是 undefined actionName parameter

解决方案 »

  1.   

    建议楼主使用指定mthod属性为处理相应业务逻辑的方法来配置action,这个更清晰,你这样配置的话,麻烦的很,项目一旦大起来,万一出了错,你想再回来找,可就是不csdn上发个贴就能解决得了的!!!
      

  2.   


    <result type="redirectAction" >${next}</result>中,改为<result name="next" type="redirectAction">${nextAction}</result> 
    加上名字,
    next是action中的一个属性。
      

  3.   


    <result type="redirectAction" >${next}</result>中,改为<result name="next" type="redirectAction">${nextAction}</result> 
    加上名字,
    next是action中的一个属性。没明白什么意思,就是没太理解,帮我发到我邮箱把,谢谢。[email protected]
      

  4.   


    就是说,加上name属性。然后,把${next}换成${nextAction}
      

  5.   

    那我就是应该给没个action 都有具体的name值,然后根据具体的method方法来决定调用那个方法?