Jump to content
Changes to the Jaspersoft community edition download ×

Recommended Posts

By: karibouxe - karibouxe

generate pdf

2006-05-12 09:14

i know that it's to easy but i don't know generate a pdf file. I show my code in JSP:

 

OutputStream outStr = response.getOutputStream();

print = JasperFillManager.fillReport(report,params,connection);

JasperExportManager.exportReportToPdfStream(print,outStr);

 

and i'm this error:

org.apache.jasper.JasperException: com/lowagie/text/DocumentException

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

at net.atos.mm.fwk.fw3.servlet.JSPServlet._service(Unknown Source)

...

 

thanks for any advices.

 

Ps: I've also some problem with generate html or xsl.I try to change my report. It generate by IReport. And i wait your help

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