File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
save as dialog problem
Joined: Jun 28, 2007
Jul 31, 2008 09:47:00
i am facing a problem related to save as dialog box.
i've written the below code in the
page mentioned in the window.open to open an xml file.
before opening the xml file, a save as dialog box is appearing. when i click on the save as dialog box, xml file is getting saved but the window is not getting closed automatically.
so, i changed the code by replacing attachment with inline as follows:
now, save as dialog box is not coming and the xml page is opening.
Please let me know, how the save-as dialog box should come and on saving the popup should be closed.
Joined: Oct 14, 2005
Jul 31, 2008 10:01:00
Despite the fact that the data you are transferring happens to be XML, this is not a question about XML at all. Let's move it to somewhere better.
Author and ninkuma
Joined: Jan 10, 2002
Jul 31, 2008 14:43:00
You can't. The easiest solution is not to use a popup.
[ July 31, 2008: Message edited by: Bear Bibeault ]
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: save as dialog problem
Opening excel sheet separately
File Download problem from java
Problem downloading a file
Opening Excel sheet in a browser
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015