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

Determine if report is run in JasperReports Server


mulcamd

Recommended Posts

How can I determine if a report is run from the JasperReports Server?

 

Background. When running a report in iReport I can use  JOptionPane.showMessageDialog  to show a message to the user. In JasperReports Server this gives an error.

So before showing the message I want to check if the report is run from JasperReports Server.
 

See als my question:

jasperforge.org/plugins/espforum/view.php

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Thanks, yes I figured that out. Thanks for the link.

 

Yet my question is still unanswered: is there a way to determine in a scriptlet if the report is run in the JasperReports Server of locally in iReport?



Post Edited by mulcamd at 05/05/2012 14:26
Link to comment
Share on other sites

  • 2 weeks later...
  • 8 months later...

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