You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by saurabh321 <sa...@steria.co.in> on 2009/01/16 16:01:30 UTC

Add JSP generated table to Excelworkbook created using POI

Hi

I have created a workbook using following code :
                   HSSFWorkbook wb = new HSSFWorkbook();
                                HSSFSheet sheet1 = wb.createSheet("new
sheet");
                       
                                OutputStream out =
response.getOutputStream();
                               
response.setContentType("application/vnd.ms-excel");
                                response.setHeader("Content-disposition",
                                                 "inline;
filename=report.xls");
                                wb.write(out);
                                out.flush();
                                                 out.close();

Now, i have a JSP, which contains simple table.
How can i insert contents of this table to my above generated workbook.

Thanks 
-- 
View this message in context: http://www.nabble.com/Add-JSP-generated-table-to-Excelworkbook-created-using-POI-tp21501293p21501293.html
Sent from the POI - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org