这是jsp报错
检查前后两个“UTF-8”大小一致后,还是报错,原来是contentType="text/html;charset=UTF-8"中间不能有空格
错误写法:
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
正确写法:
<%@ page language="java" contentType="text/html;charset=UTF-8"
pageEncoding="UTF-8"%>