Jump to content
We've recently updated our Privacy Statement, available here ×

running Java code before report


ktrinad

Recommended Posts

By: Ben - bglazier

running Java code before report

2006-07-10 13:16

Hi,

 

I have an ireport automatically generated from Java code passing in parameters.

 

Now I want to report to be accessible from the Jasper Server.

 

Can anyone tell me what I need to do to run the code prior to generating the report and how to pass the parameters in.

 

many thanks.

 

 

By: T Kavanagh - tkavanagh

RE: running Java code before report

2006-07-11 16:13

Hi Ben,

 

I am presuming that you generated a jrxml format file. This is the basis for adding a report to jasperserver. If you take a look at the User Guide which is available in the install-dir docs directory and also on the web site under the docs link.

 

When creating input parameters (ie to prompt users for input) the names of the jasperserver input paramters needs to match the name that is given to the parameter in the jrmxl you created.

 

 

By: Ben - bglazier

RE: running Java code before report

2006-07-12 13:51

Thanks for your help.

 

I managed to do what I needed using Scriplets instead of a Java program.

 

Now I have different problem...

 

Thanks again.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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