ContentType中的charset与PageEncoding
在jsp页面编写中,每一页开头就有这样一句话<%@ page contentType="text/html; charset=GB2312" %>contentType是HTTP头信息中的一个属性,指定响应的HTTP内容类型,默认为text/Html(还有很多类型的文件)。当然,contentType还有一个属性charset,指定编码。而jsp中还有一个pageEncod...