在页面上加上
<%@ page pageEncoding="GBK" contentType="text/html; charset=GBK" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
就可以使用了
pageEncoding="GBK" 中的GBK必须大写
<%@ page pageEncoding="GBK" contentType="text/html; charset=GBK" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
就可以使用了
pageEncoding="GBK" 中的GBK必须大写