my dog learned polymorphism*
The moose likes Struts and the fly likes report generation in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "report generation in struts" Watch "report generation in struts" New topic
Author

report generation in struts

manas ranjan mandal
Ranch Hand

Joined: Apr 02, 2008
Posts: 97
can any one tell me how to generate report in struts?

thanks in advance
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41631
    
  55
What exactly do you mean by "report"? Struts is a web framework, so its output are HTML pages (for the most part). Is that what you want to generate? The standard library for generating HTML reports (as well as PDF, and maybe a few other formats) is JasperReports.


Ping & DNS - my free Android networking tools app
manas ranjan mandal
Ranch Hand

Joined: Apr 02, 2008
Posts: 97
i want to know that how to integrate jasper report in struts so that i can generate report?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Which version of Struts? In Struts 2 there's a plugin. In Struts 1 you'd have to create either a report file or stream and write it back to the response. Searching the web should give you several methods to do this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: report generation in struts