File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Downloading a file onclick of a node from Tree2

 
rajani kumar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
i have a tree2 which renders a root folder and its contents(sub-folders & files), a hardcoded path from my local disk.now i have a command link for a file node and i need to download[open/save dialog]on click of that. please help me with a solution.
 
Darryl Nortje
Ranch Hand
Posts: 140
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Rajani..

I'd imagine you would do it the same way you would if you were using servlets only. ie: get the servletOutputStream from the Http response, and write the file to that.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic