Jump to content
Changes to the Jaspersoft community edition download ×

PDF/HTML report from Jasper Viewer


2005 IR Help

Recommended Posts

By: Sabeer Hussain - pasabeer

PDF/HTML report from Jasper Viewer

2003-08-18 02:37

Is there any way to save the report displayed on jasper viewer to either PDF or HTML form without going back to the server?. Otherwise I need to keep the object of JasperPrint at server and I need to send the request again to get report from JasperPrint object

 

Thanks

Sabeer

 

 

 

 

By: David Hardwick - dhardwick

RE: PDF/HTML report from Jasper Viewer

2003-08-18 07:54

Sure, you can look at the webapp example to see how it takes the bytes of the PDF and sends it to the response ouput stream. You can store these bytes anywhere your heart desires, instead of redirecting them to the output stream.

 

Also, the JasperPrintManager already has methods that save the output to PDF, HTML, etc. files.

 

Invesitage the build.xml files further to see how this is already being done.

 

Rock on,

DaveH

 

 

 

 

By: Siva - cvaram

RE: PDF/HTML report from Jasper Viewer

2004-06-11 04:47

hi all

when i am trying to generate a pdf file `using jasper reports after compiling the file from console it compiled but when i tried to run the file it is giving stream corruption exception.any solution

 

 

 

 

By: Shirley Goldrei - shirley

RE: PDF/HTML report from Jasper Viewer

2004-06-11 06:11

After you compile the xml design (usually .xml -> .jasper) you have to "fill" the report (.jasper -> .jrprint), before you PDF the report (.jrprint -> .pdf)

 

Hope this helps,

Shirley

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