struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mteccles <>
Subject Re: <s:fielderror> unexpected behaviour
Date Tue, 04 Mar 2008 10:21:50 GMT

Now i just thought the action is wired by spring as a singleton, and the
fielderrors are a property of this object... maybe forms should not be
singletons. still like to know thoughts

mteccles wrote:
> Hi,
> I developed a form that does some validation. I included validation and
> workflow interceptor in the actions stack.
> The validation is very simple, it makes sure one field is a minimum
> length. It works fine except for the following scenario:
> 1) submit invalid form (input is returned with field error showing)
> 2)fix input and re-submit
> result: 
> field error is still there therefore workflow sends it to input again.
> Surely the fielderror should of been popped from the stack in the
> <s:fielderror> tag? Do i have to manually remove the error from the stack
> or is there a bug in my solution?

View this message in context:
Sent from the Struts - User mailing list archive at

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

View raw message