Caoilte,
Can you afford session scope in this scenario. There must be no problem
in this scope.
If not, then try to redirect on the page through the same action class
which u use it for preparing it. This will be sort of chaining.
Regards,
MMS
----------
From: Caoilte O'Connor [SMTP:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 7:00 PM
To: [EMAIL PROTECTED]
Subject: Re: upload validation failures are blanking my
form values
it's not quite the same problem as that guy is having.
I don't mind "file" fields being blanked, because
chances
are the validation error is from that particular file
being
too big.
my problem is that every single field in the form is
being
blanked (ie text ones which describe the file too, not
just
the file one), and that this only happens when you
upload a
file (ie it won't happen on exactly the same page if you
don't try to upload the file and there is a validation
error).
i think this must be a bug in struts,
caoilte
On Thursday 06 November 2003 14:33, Susan Bradeen wrote:
> Maybe this archive thread can help you?
>
>
http://marc.theaimsgroup.com/?t=104752028300003&r=1&w=2
>
> Susan
>
> On 11/06/2003 06:22:05 AM Caoilte O'Connor wrote:
> > 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]