File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

providing download option

 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic