poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From saurabh321 <saurabh.agar...@steria.co.in>
Subject Add JSP generated table to Excelworkbook created using POI
Date Fri, 16 Jan 2009 15:01:30 GMT

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


Mime
View raw message