Jump to content
JasperReports Library 7.0 is now available ×

Error displaying report in applet


Recommended Posts

By: Curtis Greg W - cgregjam

Error displaying report in applet

2002-09-17 07:44

I created a report name "payment_summery".

and i am trying to display it in a applet. however when i rum then applet i get the following message:

 

How do I correct this. where are the compile files bein

 

dori.jasper.engine.JRException: Errors were encountered when compiling report design:

Note: sun.tools.javac.Main has been deprecated.

 

payment_summery.java:4: Package dori.jasper.engine not found in import.

 

import dori.jasper.engine.*;

 

^

 

payment_summery.java:5: Package dori.jasper.engine.fill not found in import.

 

import dori.jasper.engine.fill.*;

 

^

 

payment_summery.java:17: Superclass JRCalculator of class payment_summery not found.

 

public class payment_summery extends JRCalculator

 

^

 

3 errors, 1 warning

 

 

 

 

By: Teodor Danciu - teodord

RE: Error displaying report in applet

2002-09-18 01:19

 

Hi,

 

You are trying to compile a report in the applet.

This is not a very good idea.

 

Compilation needs access to the disk and requires

a lot of libraries in the classpath that you have to

transfer over the network in a Web environment.

This includes tools.jar which is not a small JAR file.

 

Report designs should be compiled only once, at

design time, just like you compile your application

source files. At runtime, you should only use

the .jasper files to fill them with data.

 

Using applets is a good idea only when you want

to display reports generated on the server side, and

I'll provide a sample to explain all that in the next

release.

 

Thank you,

Teodor

 

 

 

By: Curtis Greg W - cgregjam

RE: Error displaying report in applet

2002-09-20 07:00

i am now trying to display the .jasper files and i am getting the exception ... cant load object from file :... / cant load object from stream

 

could you tell me how to do this.

 

Curtis

 

 

By: Teodor Danciu - teodord

RE: Error displaying report in applet

2002-09-26 07:35

 

Hi,

 

I'll provide a complete Web application sample

with HTML exporter and applets

It will be available with the 0.4.1 in one or two days.

 

Thank you,

Teodor

Link to comment
Share on other sites

  • Replies 0
  • 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...