File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes generate excelsheet report Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "generate excelsheet report" Watch "generate excelsheet report" New topic
Author

generate excelsheet report

sneha anant patel
Greenhorn

Joined: Sep 04, 2008
Posts: 9
Hi ,
I am using jsp/servlet for my application.
And MS Access as database.

whenever user request for report(through button ),need to generate ExcelSheet Report by fetching data from database.

Show the report and mail that to perticular user.

How to do this complete task?

Thanks,
sneha.
vijayakumar durai
Ranch Hand

Joined: Aug 18, 2008
Posts: 153
you can give it in jsp page for generating report
<%@ page contentType="application/vnd.ms-excel" %>
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
Which part are you having problems with - getting the data from the DB, creating an Excel file, streaming the file to the browser, or emailing the file to the user?

For creating an Excel file you can use a library like Apache POI or jExcelApi. You can't stream the file from a JSP, though, because JSPs can't handle binary content. You'll need to do this in a servlet.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: generate excelsheet report
 
Similar Threads
integrating iReport with my JSP Project
Excelsheet content reading
retrieving data from a databse into an excelsheet
validate an excelsheet entries using java code
Read data from ExcelSheet