No result defined for action com.cyberway.watsons.lottery.controller.LotteryController and result in

struts2 的坑,今天在做完了功能以后,本来觉得不会错了,没想到执行之后报了下面的错误


No result defined for action com.cyberway.watsons.lottery.controller.LotteryController and result in


然后检查了配置,我根本就没有配置一个 input的 result 返回值

No result defined for action com.cyberway.watsons.lottery.controller.LotteryController and result in


反正就是一脸懵逼,无意中看到我发送的请求里面包含了两个相同的值   domain.lotteryCount

No result defined for action com.cyberway.watsons.lottery.controller.LotteryController and result in


然后怀疑是这个原因导致的,我这个东西本来是有其他用途的,也算是自己的bug吧,哈哈


然后判断一下那个东西,再测试了一下,没想到就可以了,。。但是我觉得struts2这样的提示未免也太。。。。。