You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2012/12/14 07:48:13 UTC
[jira] [Updated] (WW-3944)
org.apache.struts2.tiles.StrutsTilesRequestContext dispatch issue
[ https://issues.apache.org/jira/browse/WW-3944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-3944:
------------------------------
Fix Version/s: 2.3.9
> org.apache.struts2.tiles.StrutsTilesRequestContext dispatch issue
> -----------------------------------------------------------------
>
> Key: WW-3944
> URL: https://issues.apache.org/jira/browse/WW-3944
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Tiles
> Affects Versions: 2.3.7
> Reporter: Linus Chien
> Fix For: 2.3.9
>
>
> public void dispatch(String include) throws IOException {
> if (include.endsWith(mask) || include.endsWith(".jsp")) {
> // FIXME This way FreeMarker results still don't have a content-type!
> include(include);
> } else {
> super.dispatch(include);
> }
> }
> The condition "include.endsWith(".jsp")" causes the template jsp missing its charset encoding.
> It should be forward, not be include, so that the charset encoding in the template page will works.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira