Problem with Internet Explorer and Jfreechart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
HHall
Posts: 5
Joined: Thu Aug 10, 2006 5:07 pm

Problem with Internet Explorer and Jfreechart

Post by HHall » Thu Aug 10, 2006 5:22 pm

Problem trying to render charts using jsp's and servlets:

1. When I display a png chart in IE, it will not print, but will display. FFox does fine.

2. When I display a jpg chart in IE, it will not print, but will display. If I try to save the image in IE, IE saves the chart as a BMP not JPG. FFox does fine.

I know png is a notorious IE problem but if anyone has any tricks I would appreciate the help.

Also when I try to search this forum I get zilch results. See my earlier post. So if there are a hundred posts covering this, I am sorry but I tried to find them.

Not my day. Thanks.

HHall
Posts: 5
Joined: Thu Aug 10, 2006 5:07 pm

Solved my own problem

Post by HHall » Sat Aug 12, 2006 5:04 pm

The problem is that IE evidently wants to cache the image before printing. The other problem is that I am running under an SSL connection. The real problem is that I had a setting in my browser in conflict with the above.

Here is the fix:

This issue can occur if you have "Do not save encrypted pages to disk" selected in Tools, Options, Advanced Tab and are loading the page over a secure connection (https).

The problem can also occur if your IE cache is full. Fix this by by going to Tools, Options, General and click on Delete files.

Locked