struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Struts 2 XML based validation not working
Date Fri, 21 Dec 2007 16:34:59 GMT
Please reply to struts-user and not directly to responders.

--- Filipe David Manana <> wrote:
>   <s:form action="login" namespace="/">
> [...]
> The struts.xml section:
>       <action name="login" class="actions.LoginAction" method="input">
> [...]

If you submit to the "login" action won't it just run the "input" method
again, hence bypassing validation?

I don't see where you're either (a) defining the method to call on a submit,
or (b) defining a different action that doesn't default to the "input"


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message