wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes providing download option Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "providing download option" Watch "providing download option" New topic
Author

providing download option

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
I have many pages on site which display data in tabular (using <table> HTML tag) format e.g. list of students (columns are: name, age, sex etc). I'd like to give a download option there so data can be downloaded in xls format.

Will I have to write custom code for this or any utility already does that?
If custom then POI API will be the way to go, right? Or any client side (JavaScript API) can help?

Thanks.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Did I post this here or it's been moved here from HTML & JS forum?
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874


HTML & JS are not suited for this.

Why dont you go with simlpe Servlet option . Use ServletOutputStream and write bytes to the outputstream.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: providing download option
 
Similar Threads
where to download stuts framework api?
Telephony CSTA
Telephony CSTA
Custom Data format in POI
Use download link to get data in CSV format in JSP page