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

save report into *.jasper Files?


Recommended Posts

By: k.Dammeier - rubia

save report into *.jasper Files?

2003-09-19 01:05

hi,

 

how can I save a JasperReport-Object into a .jasper-File?

I tried this, but only a short string is produced:

 

File theFile = new File("jReportSub.jasper");

FileOutputStream out = new FileOutputStream(theFile);

 

String stringReport = jReportSub.toString();

out.write(stringReport.getBytes());

out.close();

 

The .jasper-File shows:

 

dori.jasper.engine.JasperReport@1551d7f

 

Knows anybody the solution?

thanks a lot!

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