Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Jasper Report and Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Jasper Report and Struts" Watch "Jasper Report and Struts" New topic
Author

Jasper Report and Struts

Kate Murch
Greenhorn

Joined: Apr 28, 2011
Posts: 3
Hello,
I'am newbie and want to create a report via a button "Print" in my JSP but i don't know how.

I use Struts 1, jasper Report and ireport

thanks.
Kate Murch
Greenhorn

Joined: Apr 28, 2011
Posts: 3
Hi,
I need your help, please
Vic Hood
Ranch Hand

Joined: Jan 05, 2011
Posts: 477

I dont know about Struts 1, but heres a Struts 2 jasper Tutorial.That you may find useful!


Learning and Learning!-- Java all the way!
Kate Murch
Greenhorn

Joined: Apr 28, 2011
Posts: 3
thanks Vic for the link it's very intresting, but actually I'm working with struts 1.

i have generated a .jrxml file with IReport then in my jsp i put this code



now i want to add a button in the JSP , with this button i want to execute the code above.
i really need your help
Vic Hood
Ranch Hand

Joined: Jan 05, 2011
Posts: 477

im not sure , how this would work , as i dont know struts 1 , and am just beginning with 2 , but I think you should be editing some attribute of the html:button tag (not sure if this is right) to assign value to it . Not sure, how it works though!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Jasper Report and Struts
 
Similar Threads
Dynamic Jasper + struts 2
report generation in struts
jasper report
how to save multiple report files??
Creating Jasper Report at client machine