Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

providing download option  RSS feed

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did I post this here or it's been moved here from HTML & JS forum?
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

HTML & JS are not suited for this.

Why dont you go with simlpe Servlet option . Use ServletOutputStream and write bytes to the outputstream.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!