Jump to content
Changes to the Jaspersoft community edition download ×

HtmlExporter doesnt exports well formed doc

2004 IR Help

Recommended Posts

By: Pablo C. E. - pcelias

HtmlExporter doesnt exports well formed doc

2005-10-07 07:09

Hi, Im having some trouble trying to export my jasper print to a html document.

I CAN export it fine but any graphic element that I have doesnt show up, and a single text-like page is shown...

What do I have to do to show my graphical lines, poligons and stuff? Im using IREPORT to build my jasper template.

Here's what I'm trying to do in my JSP:


JasperPrint jasperPrint = buildJasperPrint( jasperTemplate, dataSource, parameters );


JRHtmlExporter exporter = ( JRHtmlExporter )request.getAttribute("htmlExporter");


Map imagesMap = new HashMap();


session.setAttribute("IMAGES_MAP", imagesMap);

exporter.setParameter(JRHtmlExporterParameter.OUTPUT_WRITER, out);

exporter.setParameter(JRHtmlExporterParameter.IMAGES_MAP, imagesMap);

exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "jsp/image.jsp?image=");



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