Jump to content
Changes to the Jaspersoft community edition download ×

Problem while exporting html report from windows


Recommended Posts

Hi all,


i have got some problem while exporting the html report.




1. Run the application in Linux machine(server).

2. Access that same application from windows machine(client).

3. While exporting the report it shows the correct data with proper alignment.there is no problem in this step.

3. After exporting the report, save it in the local machine(Windows).

4. In general, one supportive folder will be created while saving html page. In that a file called "image" is not created.

5. Because of this, whenever i am trying to open that saved html report, it is giving blank images wherever space is used in the report.



But the same thing is working fine is the following scenarios.


1. Running the same applcation in windows and accessing from another windows machine.

2. Running the same applcation in Linux and accessing from another Linux machine.

3.Running the same applcation in Windows and accessing from another Linux machine.


I attached the screen of the problem,what i am getting.it shows blank image whereever space is used


Please help me in this regard. It is very urgent


I have attached the code. i have configured image servlet in web.xml .

The java code is below


JRHtmlExporter exporter = new JRHtmlExporter();

exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);




Map imagesMap = new HashMap();

request.getSession().setAttribute("IMAGES_MAP", imagesMap);

exporter.setParameter(JRHtmlExporterParameter.IMAGES_MAP, imagesMap);






Thanks in advance



[file name=RepeaterSpecific_do.html size=44898]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/RepeaterSpecific_do.html[/file]

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Link to comment
Share on other sites

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