if (included)
return; // Ignore any call from an included servlet
this.locale = locale;
if (this.context != null) {
CharsetMapper mapper = context.getCharsetMapper();
this.encoding = mapper.getCharset(locale);
if (contentType != null) {
if (contentType.indexOf(';') < 0) {
contentType = contentType + ";charset=" + encoding;
} else {
// Replace the previous charset