The JSP specification requires that an attribute name is preceded by whitespace

服务部署调试时出现这样的错误

The JSP specification requires that an attribute name is preceded by whitespace

The JSP specification requires that an attribute name is preceded by whitespace

最后发现竟然是这么一上小问题,在pageEncoding="GBK"前面少了一个空格

<%@ page language="java" contentType="text/html; charset=GBK"pageEncoding="GBK"%>

看来空格在jsp中很重要啊

切记!!!!!!!