Try setting the redirect="true" for your error action forward. Not
exactly sure of the exact problem but this has solved my problems with
error reporting with forms with file uploads.

HTH,

Greg

> -----Original Message-----
> From: Caoilte O'Connor [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 06, 2003 6:22 AM
> To: [EMAIL PROTECTED]
> Subject: upload validation failures are blanking my form values
> 
> Hi, I've got a bizarre bug with the struts-upload tools.
> 
> Struts-upload "works" when,
> 
> 1) everything validates correctly.
> 2) there is a validation error and you do not attempt to
> upload a file.
> 
> but it breaks as soon as i try to upload a file and there is
> a validation error for any reason.
> 
> The errors get reported correctly and I get returned to the
> input page BUT all the form fields are blanked. This does
> NOT happen if I do not attempt to upload a file.
> 
> 
> I have confirmed this also happens in the struts-upload
> example webapp. Has anyone else been infuriated by this bug
> and found any workarounds?
> 
> I'm not using a nightly build.
> 
> 
> cheers,
> 
> caoilte
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to