I have a login modal. The modal(bootstrap) form is a part of header.jsp which gets included in every JSP. How do I get action error messages back to my modal if user enters wrong username/password?
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>
for the result "input" what I should mention so that I get action error messages on to Login modal?