This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

downloading functionality

 
prabhu kasi
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a servlet with some data in it..I have been asked to provide Download functionality for the servlet page . If i click a Download button on the servlet , it should download to the local dir..Can someone tell me if its possible to download the page to a local directory and save it..?
I have been searching in google to get some idea...But no luck..
thx
klv
 
Carl Trusiak
Sheriff
Posts: 3340
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What type of data? What file format will it be once downloaded?
 
prabhu kasi
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...
thx for the response....The servlet page contains certain report data...I'd have to save that in a txt file , download it and save it on the local directory similar to a getting a pop up box with "save as" once we click download in windows....
thx
klv
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic