Hai,
I am doing one java struts application.
In my Application, i need to generate the report .

In the Report display page, i have two buttons named PDF and EXCEL.

If i have click the PDF button, all the Report values are generate as PDF file.

If i have click the EXCEL button, all the Report Values are generate as EXCEL file.

If any one know, how to do this.
I have no idea's about for this. So please help me anybody.

Advance Thanks for your useful replies.


Thanks

Tamilvanan

If you take time to search and browse even this forum not to mention rest of internet you will find this topic was discused so many times.
To create PDF documents you can use iText and work with excel you may want to use JExcel
Plus there are many more option but it is up to you to do your search

You might want to look at JFreeReport.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.