2004 IR Help Posted August 23, 2006 Share Posted August 23, 2006 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="); exporter.exportReport(); Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now