• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Save as Dialog in Applet

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
In my application I am using tomcat,signed applet,and jsp.
now with the help of all this I am enable to download .exe file which is available on webserver using applet and executing that exe after completion of download but, the problem is that I want to save that .exe file at specific location on my client machine and to get that location.
So please help how to pop up dailog box while downloading a file and to get a download path.

Thanx in Advance.
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's nothing applet-specific about this. You can use the java.awt.FileDialog class (or a javax.swing.JFileChooser if it is a Swing applet). An example of how to use it can be found here.
[ November 24, 2005: Message edited by: Ulf Dittmer ]
 
Where all the women are strong, all the men are good looking and all the tiny ads are above average:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic