SSH配置struts校验发生No result defined for action actions.AdminLoginAction and result input
配置struts校验发生No result defined for action actions.AdminLoginAction and result input,但是登录,success.jsp,failed.jsp都好使,
验证空值输入(校验)出现上述问题。
这是struts配置有问题!
input result没有配置,要返到表单才能显示
<action name="admin_login" class="adminLogin">
<result name="success">/admin/success.jsp</result>
<result name="input">/admin/admin_login.jsp</result>
<result name="error">/admin/failed.jsp</result>
</action>
![](https://images.cnblogs.com/cnblogs_com/xiaobo-Linux/736394/o_erweima.png)