Results 1 to 3 of 3

Thread: Spring MVC Jasper related question

  1. #1
    Join Date
    Feb 2010
    Posts
    12

    Default Spring MVC Jasper related question

    Hi,
    While creating a template (xml file) to be used for jasper generated reports, there is this Query String element which is used to populate the report when using a datsource to get the data. But if I am using the values from a bean or a Collection which will have the necessary values in it, should I be creating the reporting template file without that Query String element in there or whats the approach, is it mandatory? Also if there are online references doing it this way to generate the reports, it will be helpful?



    regards
    Aravias

  2. #2
    Join Date
    Dec 2010
    Posts
    315

    Default

    You can check the tutorials I wrote for Spring and Jasper at http://krams915.blogspot.com/p/tutorials.html

  3. #3

    Default

    No, you do not need to include the query string in the template if you use beans as data source.
    You can use query string to test your reports. When the design is done, you can simply remove the query string from the template when you deploy it to spring.

    Quote Originally Posted by aravias View Post
    Hi,
    While creating a template (xml file) to be used for jasper generated reports, there is this Query String element which is used to populate the report when using a datsource to get the data. But if I am using the values from a bean or a Collection which will have the necessary values in it, should I be creating the reporting template file without that Query String element in there or whats the approach, is it mandatory? Also if there are online references doing it this way to generate the reports, it will be helpful?



    regards
    Aravias

Posting Permissions

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