struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-3210) JFreeChart plugin not setting correct mime type
Date Mon, 21 Sep 2009 16:56:48 GMT

     [ https://issues.apache.org/struts/browse/WW-3210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Musachy Barroso resolved WW-3210.
---------------------------------

    Resolution: Fixed

Fixed in trunk. Thank for the patch, but I think it had a few problems, and some changes that
were not needed, so I didn't apply it directly. Please verify that the bug is fixed.

> JFreeChart plugin not setting correct mime type
> -----------------------------------------------
>
>                 Key: WW-3210
>                 URL: https://issues.apache.org/struts/browse/WW-3210
>             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: ChartResult.java.diff, 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.


Mime
View raw message