我有一个登录模式。modal(bootstrap) 表单是 header.jsp 的一部分,它包含在每个 JSP 中。如果用户输入错误的用户名/密码,如何将操作错误消息返回到我的模式?
Struts.xml
<action name="authenticate" method="login"
class="app.resumerepo.in.action.LoginAction">
<interceptor-ref name="loginCheck" />
<result name="success" type="redirect">myaccount.action</result>
<result name="input"> </result>
<result name="error">/jsp/common/error.jsp</result>
</action>
对于结果“输入”,我应该提到什么,以便我在登录模式上收到操作错误消息?