You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Linus Chien (JIRA)" <ji...@apache.org> on 2012/12/14 06:28:14 UTC
[jira] [Created] (WW-3944)
org.apache.struts2.tiles.StrutsTilesRequestContext dispatch issue
Linus Chien created WW-3944:
-------------------------------
Summary: 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
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