Results 1 to 3 of 3

Thread: Jasperreports with Struts

  1. #1
    Join Date
    Jan 2005
    Location
    Florianópolis - Santa Catarina - Brazil
    Posts
    18

    Default Jasperreports with Struts

    Hi everyone.
    I'm trying to add Jasperreports to my architecture. How can I do this, if I'm using Struts in my webapp? I use Spring 1.2.1 to manage my layers. Did I have to code an Action to generate the report or I'll have to code a servlet to do it?

    PS - I want to use the Hibernate Collections searched as a DataSource to my reports.

    Thanks in advance

    Rafael Mauricio Nami
    All that\'s above is the same as below

  2. #2
    Join Date
    Jun 2005
    Posts
    13

    Default

    You have to write another action to handle it if using Struts, or simply using SpringMVC for generating report. SpringMVC has already provided the existing interface to integrate with JasperReports. It works prettey well.

  3. #3
    Join Date
    Jan 2005
    Location
    Florianópolis - Santa Catarina - Brazil
    Posts
    18

    Default

    Yes, but my my scenario is something like this:
    I have to make a query, filtered with soime values, and generate a
    report. Because I am using Struts, I have to write a Action, of course, but you mean do all the stuff in one method in the action? Like, in a doReport(), doing the query using my managers, and generating the report using Jasper? Do I have to wire Jasper in Spring or I can just add the .jars in my application and run it???

    Best Regards

    Rafael Mauricio Nami
    All that\'s above is the same as below

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Replies: 4
    Last Post: Aug 1st, 2005, 03:45 PM
  3. JasperReports and Struts
    By commandos in forum Web
    Replies: 2
    Last Post: Jul 7th, 2005, 11:30 AM
  4. Replies: 2
    Last Post: May 24th, 2005, 11:22 AM
  5. Replies: 10
    Last Post: Nov 2nd, 2004, 09:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •