wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
 
subject: input to ireport
 
Similar Threads
Error when exportReportToPdfFile
jasper report- error
tomcat connection
eroor when exportReportToPdfFile
Problem: Jasper Report 3.7.2 and Oracle JDeveloper 11g