File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes How to open a file dialog box (open, save as, new) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to open a file dialog box (open, save as, new) " Watch "How to open a file dialog box (open, save as, new) " New topic
Author

How to open a file dialog box (open, save as, new)

panda sweta
Greenhorn

Joined: Mar 22, 2005
Posts: 3
How to open a file dialog box (open, save as, new) ? I want to incorporate into web application.what is the javascript code 4 tht?
in my webpage 3radio button options r there one is for excel,2nd one is for html n last one is for pdf.so when a user click on excel radio button and click on saveas button then a dilog box will open in tht the user can save the file in corresponding format also the user can crate new folder n save the file in tht format.i also want to retrieve the full physical path of a file after a user save a new file.
will any body know plz help.i need this urgently
with regards
sweta
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
file save dialog is not triggered by JavaScript. It is normally trigger by the browser when it does not recognize the file format.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to open a file dialog box (open, save as, new)
 
Similar Threads
Regarding Excel sheel in jsp
How to open two .xls in the same request?
How to avoid open/Save dialog box while downloading?
File Download Dialog
File download problem