This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread 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

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "report generation in struts" Watch "report generation in struts" New topic

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

Joined: Mar 22, 2005
Posts: 42030
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

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.
GeeCON Prague 2014
subject: report generation in struts