You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/11/02 23:25:50 UTC

[jira] Resolved: (WW-3305) FreemarkerResult tamper Content-Type

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

Musachy Barroso resolved WW-3305.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0

fixed in trunk, thanks for reporting

> FreemarkerResult tamper Content-Type
> ------------------------------------
>
>                 Key: WW-3305
>                 URL: https://issues.apache.org/struts/browse/WW-3305
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.8
>            Reporter: zhouyanming
>            Assignee: Musachy Barroso
>            Priority: Critical
>             Fix For: 2.2.0
>
>         Attachments: patch.txt
>
>
> ServletActionContext.getResponse().setContentType("application/xml"); 
> it doesn't works because FreemarkerResult will override with "text/html" latter

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