File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Jasper Report and Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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://aspose.com/file-tools
 
subject: Jasper Report and Struts
 
Similar Threads
Dynamic Jasper + struts 2
Creating Jasper Report at client machine
report generation in struts
how to save multiple report files??
jasper report