Jump to content
Changes to the Jaspersoft community edition download ×

Forward parameter from tomcat url to jasper reports


Rayen.Drissi

Recommended Posts

Hi,

I use iReport 4.6.0, tomcat 7. I want to forward parameters from URL (tomcat) to iReport (without using a DB connection).

When I preview the report in iReport using parameter as a prompt and empty datasource (It's works),

but when I use the tomcat url the parameter is not displayed (because the data source using in the url :

http://localhost:8087/JasperReportsIntegration/report?_repName=report2&_repFormat=pdf&_dataSource=test&_outFilename=&_repLocale=de_DE&_repEncoding=UTF-8&p_id=30

 

So, how can I forward parameter to be used in iReport?

Create parameter in iReport : prompt.png.a4a0f4a14924dd76723f7a4803885e59.png

 

Preview report in iReport :

preview.png.7b9ad356b475df35045c080b5722fe07.png

 

Preview report using tomcat url :

url.png.6bc275de25ee26da45a34ef4ec9ee3ce.png

 

Thanks in advance.

Best Regards.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...