Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create a file on the client machine

 
Manoj Karnavat
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic