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