wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark " javascript" Watch " javascript" New topic
Author

javascript

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
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
IE only has
window.execCommand("SaveAs", true, "filename");
Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript