This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 41599
    
  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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: report generation in struts