Thanks for the reply.

But i don't see any option in the file interceptor  to store the file
temporarily. This issue behaves the same way in IE and FF(Firefox).

It would be great to have the file attached while there's a validation error
so that the user doesn't have to reattach it. I am sure some of the gurus
out there might have a work around it.

Please reply.

Thanks again.

Shazad

On Sat, Nov 29, 2008 at 7:27 PM, Dave Newton  wrote:

> AFAIK it's a browser issue; it won't keep the file name in the file select
> box. I haven't looked, but it might be possible to save the file anyway,
> though, via interceptor ordering or an interceptor modification--not sure.
>
> Dave
>
>
> --- On Sat, 11/29/08, Khawaja-Shahzad Butt <[EMAIL PROTECTED]> wrote:
>
> > From: Khawaja-Shahzad Butt <[EMAIL PROTECTED]>
> > Subject: Struts file upload issue
> > To: user@struts.apache.org
> > Date: Saturday, November 29, 2008, 8:15 PM
> > Hi,
> >
> > I am having an issue with struts file upload during
> > validation. On the page
> > when there's
> > a  validation error, the browsed/attached file drops. Does
> > anyone
> > know a work around it, to have the previously attached file
> > in tact, meaning
> > if i have attached a file and hit submit and got the
> > validation error, the
> > file should still be
> > there, so that i don't have reattach it again.
> >
> > Storing the file in session is out of league as it's
> > not a good approach.
> >
> > Please reply.
> >
> > Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to