aspose file tools*
The moose likes JNLP and Web Start and the fly likes javax.jnlp.FileSaveService not save file with default name. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "javax.jnlp.FileSaveService not save file with default name." Watch "javax.jnlp.FileSaveService not save file with default name." New topic
Author

javax.jnlp.FileSaveService not save file with default name.

Manu Manoharan
Greenhorn

Joined: Jan 12, 2009
Posts: 9
Hi,
I am using javax.jnlp.FileSaveService class to save a file to local disc. But even though the save dialog box popup comes, it is not showing the default name in the filed to enter the name. But by giving a filename, its possible to save the file.

code snippent

***************************************

***************************************

I have put the jnlp jar in the classpath.
Please tell me if someone else also faced the problem and got the solution

Thanks in advance,
Manu
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10376
    
    8

Manu Mano wrote:


Please check your private messages for an important administrative matter.
Also please UseCodeTags


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10376
    
    8

I personally have not used FileSaveService, but from the API docs (emphasis added)
name - The suggested filename, which might be ignored by the JNLP client
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.jnlp.FileSaveService not save file with default name.