No result defined for action and result

后端 未结 2 1752
逝去的感伤
逝去的感伤 2021-01-15 15:27

Default result is not rendering using result for my package alone. Flow goes to my n0result method then It throws Exception.

Please correct

2条回答
  •  心在旅途
    2021-01-15 16:18

    What ever the string value your are returning from the action class method. You must declare a result name with the returned string value. example in your code:

    Change

    /noresultend.jsp

    to

    /noresultend.jsp

    OR

    You can add one more result in the action. like below

        
          /noresultend.jsp
         /noresultend.jsp
          /noresultdefaultdispatcher.jsp
           
    

    I hope It ll work.

提交回复
热议问题