aspose file tools*
The moose likes Servlets and the fly likes create a file on the client machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "create a file on the client machine" Watch "create a file on the client machine" New topic
Author

create a file on the client machine

Manoj Karnavat
Greenhorn

Joined: May 08, 2001
Posts: 3
hi folks,
i want to create a file on the client machine using jsp.....does anybody have any suggestions for this problem....
bye
Mnk
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Provide a "download button", and let the user save the generated file to the local disk ?
Most users would just not use a browser which let any page on the web mess around with their hard discs. Imagine what might happen if the site "created" c:\windows\system.dat or /etc/password.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: create a file on the client machine