That's what the "Save As" dialog is for. Nils-H
On Mon, Dec 15, 2008 at 3:03 PM, elyes sallem <elyes.sal...@gmail.com> wrote: > the problem is that with the html:file you must browse to an existant file, > but in my case, i wanna browse to a new file, and then in the action > i will make some treatment, generate data and export them to this file > > > 2008/12/15 Dave Newton <newton.d...@yahoo.com> > >> --- On Mon, 12/15/08, elyes sallem wrote: >> > it is not to export the file content , i want juste get back in the >> > action, the *selected file path* >> >> Oh, I thought you said "[...] struts tag to export file [...]" >> >> >> --- On Mon, 12/15/08, elyes sallem wrote: >> >>> all i want, is what is the struts tag to export file [...] >> >> FormFile has a getFileName() method. Different browsers submit different >> values for this: some send the entire path, some just send the file name. >> >> Is that also not what you're asking? >> >> Dave >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > > -- > Elyes. > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org