2008/12/15 Dave Newton <newton.d...@yahoo.com> > *boggled* > > --- On Mon, 12/15/08, elyes sallem <elyes.sal...@gmail.com> wrote: > > i used a filechooser class (swing), if any one have an > > others solution, i'm interested here is the code : > > > > String wd = System.getProperty("user.dir"); > > JFileChooser fc = new JFileChooser(wd); > > int rc = fc.showDialog(null, "Select Data File"); > > if (rc == JFileChooser.APPROVE_OPTION) { > > File file = fc.getSelectedFile(); > > filename = file.getAbsolutePath(); > > } > > > > the problem is that the dialog appears twice > > after i select a file, it reapper another time asking me to > > choose a file any one has an idea, is this due to the fact that i use > > swing in a web application ...? > > Um... > > Not sure where to begin, but in general Swing isn't required to download a > file from a web application.
do you have an other solution? the html:file doesn't work for saving a new file Regards Elyes > > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Elyes.