struts-issues mailing list archives

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

    [ https://issues.apache.org/struts/browse/WW-3210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46794#action_46794
] 

Wes Wannemacher commented on WW-3210:
-------------------------------------

don't worry Mike, we appreciate the patch, the issue with the unit test is that it uses mocks
which not all of us are familiar with (for example, myself). 

Musachy indicated he would take a look at it for me before we start to roll the 2.1.8 release
since he is somewhat familiar with using mocks for unit tests. Keep the patches coming!

> 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