This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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:
subject: input to ireport
jQuery in Action, 3rd edition