摘要:
把一个Web应用从Tomcat-5.0.28移植部署到Tomcat-6.0.16后,访问页面报错:org.apache.jasper.JasperException: /default/header.jsp(1,1) Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive (utf-8)难道Tomcat6的编码校验有问题?在Tomcat5下面是没有问题的。打开header.jsp后,发现如下写法:<%@ page language="java 阅读全文