原因:从页面跳转到Action的时候,Action如果没有接收到值的话,也即Action中的属性值为空的时候,Struts2的默认拦截器会报错,但是又找不到对应的Result结果,不能够把错误返回,所以报这种错误。
No result defined for action com.buaa.spring_test.action.TestAction and result input
最新推荐文章于 2019-11-21 21:35:37 发布
原因:从页面跳转到Action的时候,Action如果没有接收到值的话,也即Action中的属性值为空的时候,Struts2的默认拦截器会报错,但是又找不到对应的Result结果,不能够把错误返回,所以报这种错误。