I am using
filename.jrxml
file to create a simple report with
itext4.8.0
and it is working fine but i am passing parameter like this.
$P{userId}]
Now i will want to use same
filename.jrxml
With java code How can i achieve this ? My main concern is how can we pass parameter value as in ireport when i am running report in ireport it is opening popup for parameter and i am entering value .But in Java code how can pas that parameter?
Note:-I dont want to pass connection with reports.
I found the Solution in this blog entry