时间很久了,我也找不到了,我这里有4.1.7的源代码。也有ParserController.java这个文件,不过大了很多,我翻到了下面的这一段,4.0.3没有注释,4.1.7有了。看下面这一段,一改就可以了。
你换新的tomcat吧。
/*
* The encoding of the "top" file. This encoding is used
* for included files by default.
* Defaults to "ISO-8859-1" per JSP spec.
*/
private String topFileEncoding = "ISO-8859-1";