jQuery in Action, 3rd edition
The moose likes Other Open Source Projects and the fly likes input to ireport Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "input to ireport" Watch "input to ireport" New topic

input to ireport

Saranya Sivakumar

Joined: Aug 09, 2010
Posts: 13

I get the input from a web application (written in jsp) as parameter in sevlets.
Now how can i pass it to ireport(xml) as a query.

Saranya Sivakumar

Joined: Aug 09, 2010
Posts: 13
can anyone please help me in solving this?

Tariq Rafique

Joined: Jul 21, 2010
Posts: 9
Simply use Map class instance named parameters you already defined in your code as following:

"Day" and "Month" strings in above code represents parameter names in your report. The parameter name string should match to name of your report parameter.

You are already passing the parameters object to JasperFillManager.fillReport() method

that's it. It will solve your problem.

Knowledge is a treasure and Question is its key
I agree. Here's the link: http://aspose.com/file-tools
subject: input to ireport
It's not a secret anymore!