File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes  javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark " javascript" Watch " javascript" New topic


Vicky Mohan
Ranch Hand

Joined: Oct 14, 2004
Posts: 130
I have issues in providing the option to user to open / save dialog box .

I generate a Excel file through JReports and then redirect to a JSP page.

After displaying the contents of the JSP, i need to give the User the Option to open / save the file i generated.

I have the URL to the file in my JSP.

DO let me know if i can do this through Java Script.

Thanks in advance for your help.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
IE only has
window.execCommand("SaveAs", true, "filename");
I agree. Here's the link:
subject: javascript
It's not a secret anymore!