Jump to content

Integrating Jasper report through URL


nithinabaq.us

Recommended Posts

i have the evaluation version downloaded from the community website. And i have done manual installation from the jasperreports-server-cp-5.6.0-bin file. I can able to create jrxml from the ireport and can able to add that jrxl as jasper report to the jasper server and can able to access access that report throgh url like : http://localhost:8080/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/reports/samples/teamNew&j_username=jasperadmin&j_password=jasperadmin

But my pro blem is if i pass any condition in my sql query and set up some parameters to pick up like : SELECT * FROM Account where deviceID=$P{deviceID} and timestamp>=$P{fromtime} and timestamp<=$P{totime}; and if i am passing url as like : http://localhost:8080/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/reports/samples/teamNew&j_username=jasperadmin&j_password=jasperadmin&deviceID=9876543210&fromtime=1401617694&totime=1406802260, i am not able to see the reports, but if i try the same from ireport , ireport will propmt for the parameters and i can able to pass those and can able to see the reports... Did i want to make anything extra or any problem in my set up?

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...