码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2016-04-06 15:27:23      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:

一个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"%>

加个空格,问题解决

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

标签:

原文地址:http://www.cnblogs.com/yangyabo/p/5359154.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!