This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "input to ireport" Watch "input to ireport" New topic
Author

input to ireport

Saranya Sivakumar
Greenhorn

Joined: Aug 09, 2010
Posts: 13
Hi,


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
Greenhorn

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

Tariq Rafique
Greenhorn

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
 
Similar Threads
Error when exportReportToPdfFile
tomcat connection
jasper report- error
eroor when exportReportToPdfFile
Problem: Jasper Report 3.7.2 and Oracle JDeveloper 11g