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>
posted @ 2018-11-08 11:24  zhaocundang  阅读(340)  评论(0编辑  收藏  举报