Jump to content
Changes to the Jaspersoft community edition download ×

ireport and java web start


marcoscorso

Recommended Posts

hi, i have a classroom to execute an archive .jasper with the Java Web Start

 

Code:

ResultSet results = Conectar.execSQL( " select * from .... " ) ;
JRResultSetDataSource dataSource = new JRResultSetDataSource( results );
HashMap parameters = new HashMap();
JasperPrint rel = JasperFillManager.fillReport( this.getClass().getResourceAsStream("boleto_bbr.jasper"«») , parameters, dataSource);
JasperViewer viewer = new JasperViewer(rel, false);
viewer.setVisible(true);

 

when I execute my application in web, does not function, when I execute place, it functions.

 

the error in web :

"error loading expression class"

 

what I can make ?

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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