|
This post originated from an RSS feed registered with Java Buzz
by T Tak.
|
Original Post: Download an Excel using Servlet
Feed Title: programtalk
Feed URL: http://programtalk.com/feed/
Feed Description: A blog mainly about java
|
Latest Java Buzz Posts
Latest Java Buzz Posts by T Tak
Latest Posts From programtalk
|
|
How to download an Excel using Servlet? Create a workbook using any frameworks and write out the created workbook to response.getoutputstream(). For creating the excelsheet I am using apache poi. Set the content type of response to "application/vnd.ms-excel" and set response header as "Content-Disposition", "attachment; filename=YourExcelName.xls". Download an Excel using Servlet Example Discussion Should I close HttpServletResponse.getOutputStream()? You ... [Read more...]
The post Download an Excel using Servlet appeared first on programtalk.com.
Read: Download an Excel using Servlet