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 Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41062
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.
Don't get me started about those stupid light bulbs.
subject: report generation in struts
Similar Threads
Struts 2 + Number format
WA #1.....word association
Jasper Report and Struts
Creating reports in Struts1.3
calling crystal report from jsp