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 Save As Type Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Save As Type" Watch "Save As Type" New topic
Author

Save As Type

Vrunda Joshi
Ranch Hand

Joined: Dec 03, 2001
Posts: 104
Hello,
In my code i am invoking the SaveAs window,for which i want to specify the save as type as '.xls'
Mine is a client-server application, so i get the url of file from server.The things work out well except that, the save as type is still showing ".htm,.html" .
I have given the call as execCommand('SaveAs',false,'filename.xls'),but still it shows the saveas type as '.htm,.html' .i have also tried out ('SaveAs',false,'.xls') but it diplayes empty file name box and saveas type is not changed,
how do i do this?
thanks in advance
 
 
subject: Save As Type
 
Threads others viewed
saving specific content of html.
save the web page content in MSword
Jakarta HttpClient : JavaScript in Java
trying to save a file using javascript
Problem on opening .XLSX file
MyEclipse, The Clear Choice