Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Download the ResultSet values

 
manish mcool
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ALL,

Do any one have idea how to download the ResultSet values into an Excel sheet. In my application i need to provide user a radio button on which if user selects it should download the ResultSet values in the Excel sheet. And also i need to provide the Download window to user. Please, help me in getting the logic for downloading the ResultSet in Excelsheet.

Regards,
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is nothing in JSP for working directly with Excel.
See http://faq.javaranch.com/java/JspAndExcel for links to some third party libraries that do. There is also a piece of sample code that responds with a stream of CSV data and a content header suggesting that the browser open it in Excel. For some people, this is enough.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!