[
https://issues.apache.org/jira/browse/WW-3944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13533945#comment-13533945
]
Johannes Geppert commented on WW-3944:
--------------------------------------
Add the Sataging Repo to your pom.xml
{code}
<repositories>
<repository>
<id>apache.nexus</id>
<name>ASF Nexus Staging</name>
<url>https://repository.apache.org/content/groups/staging/</url>
</repository>
</repositories>
{code}
> 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
>
>
> {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