struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Struts file upload issue
Date Sun, 30 Nov 2008 01:27:29 GMT
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 <kshahzadbutt@gmail.com> wrote:

> From: Khawaja-Shahzad Butt <kshahzadbutt@gmail.com>
> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message