Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jasper Report and Struts

 
Kate Murch
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need your help, please
 
Vic Hood
Ranch Hand
Posts: 477
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know about Struts 1, but heres a Struts 2 jasper Tutorial.That you may find useful!
 
Kate Murch
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 477
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic