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


一个jsp页面在本地运行一点问题没有,发布到服务器就报错了:

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

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

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

加个空格,问题解决


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM