[
https://issues.apache.org/jira/browse/WW-3944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart closed WW-3944.
-----------------------------
> 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.8
>
>
> {code:java}
> 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);
> }
> }
> {code}
> 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