<%@ page language="java" contentType="text/html; charset=GBK" isELIgnored="false"%>
这个告诉服务器以何种方式,和编码将jsp文件翻译为.Java文件
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
这个是告诉浏览器以何种编码方式显示html页面,前者是jsp引擎对输出内容进行编码,后者是浏览器对显示html
页面进行编码,有时候页面出现乱码,就是后台传递过来的数据编码有问题