Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.7
-
None
Description
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.