No result defined for action com.buaa.spring_test.action.TestAction and result input

来源:互联网 发布:元贝驾考电脑版软件 编辑:程序博客网 时间:2024/05/01 18:19

原因:从页面跳转到Action的时候,Action如果没有接收到值的话,也即Action中的属性值为空的时候,Struts2的默认拦截器会报错,但是又找不到对应的Result结果,不能够把错误返回,所以报这种错误。

0 0
原创粉丝点击