一个jsp页面报错:The JSP specification requires that an attribute name is preceded by whitespace
发现是contentType="text/html; charset=UTF-8"与pageEncoding="UTF-8"中间少了一个空格,加上空格后解决!
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isErrorPage="true"%>