您的位置:首页 > 产品设计 > UI/UE

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

2017-12-25 14:07 507 查看
一个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"%>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐