struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Rodriguez Lopez <>
Subject Re: Form values getting empty After validation failure
Date Wed, 24 Mar 2010 16:12:29 GMT

don't know if it will be usefull, but some days ago someone in the user 
list suggested using the getters and setters of the properties that map 
to your form to call get() and put() methods of the current session ( 
ActionContext.getContext().getSession() ) , so you get "automatic" 
session persistence of form values.


Em 24-03-2010 06:15, pundarik rajkhowa escreveu:
> Hi,
> I am using html file control to upload a file. If file size exceeds a limit,
> then I return an error from Action class through ActionMessages object. The
> errors are displayed fine.The problem is that the input form has around 10
> fields and after I return control to it for file size limit error display,
> all the form fields become empty. How do I retain the values in the form
> fields, any idea ?
> regards,
> Pundarik

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

View raw message