struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Baranski (JIRA)" <>
Subject [jira] Commented: (WW-3210) JFreeChart plugin not setting correct mime type
Date Mon, 21 Sep 2009 16:32:48 GMT


Mike Baranski commented on WW-3210:

I cannot figure out how to make it work, I've spent way too much time trying.  The patch works,
I just can't update the unit tests.  If that gets done, I'll be able to see the example and
will submit a more robust one next time.

> JFreeChart plugin not setting correct mime type
> -----------------------------------------------
>                 Key: WW-3210
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - JFreeChart
>    Affects Versions: 2.1.6
>            Reporter: Chris D Searle
>            Priority: Minor
>             Fix For: 2.1.8
>         Attachments:, cr.diff
> Using the jfreechart plugin. You can select PNG or JPEG image - but the HTML response
sends HTML content type
> e.g. in my app
> Content-Type: text/html; charset=iso-8859-1
> This works if you use an <img src="..:"/> tag - but a direct call to the image
URL returns the image as text to the browser.
> (BTW - not sure why there are several plugin components in this JIRA but not one for
the chart plugin or for plugin: other)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message