Revision history [back]

click to hide/show revision 1
initial version

answered 2013-12-16 22:42:38 +0800

chillworld gravatar image chillworld flag of Belgium

https://github.com/chillw...

Filedownload is normally used for client side downloading of a file. If you have already the file at your server and you will save it at server side you need just "normal" java to write your file. see example here to write a file :

http://www.mkyong.com/java/how-to-write-to-file-in-java-bufferedwriter-example/

and doc of Filedownload here :

http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Filedownload.html

Filedownload is normally used for at client side for downloading of a file. If you have already the file at your server and you will save it at server side you need just "normal" java to write your file. see example here to write a file :

http://www.mkyong.com/java/how-to-write-to-file-in-java-bufferedwriter-example/

and doc of Filedownload here :

http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Filedownload.html

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More