Jump to content
Changes to the Jaspersoft community edition download ×

Display problem in JSP(shows some empty image


2005 IR Help

Recommended Posts

By: saravana - saravana_kannan

Display problem in JSP(shows some empty image

2004-04-28 07:28

Hi,

I am trying to export a report to jsp page using the below mentioned code. I can see all the data which are feteched from the database. But it shows some images that are not in the correct location to display.So I am getting some nasty figures in the report.I would appreciate, if you could help me out from this problem.

 

Map imagesMap = new HashMap();

session.setAttribute("IMAGES_MAP", imagesMap);

exporter.setParameter(JRExporterParameter.JASPER_PRINT, jp);

exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out);

exporter.setParameter(JRHtmlExporterParameter.IMAGES_MAP, imagesMap);

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

exporter.exportReport();

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