javaee这段文字的错误是什么意思

HTTP Status 500 - /index.jsp (line: 1, column: 84) The JSP specification requires that an attribute name is preceded by whitespace


type Exception report

message /index.jsp (line: 1, column: 84) The JSP specification requires that an attribute name is preceded by whitespace

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: /index.jsp (line: 1, column: 84) The JSP specification requires that an attribute name is preceded by whitespace
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:89)
	org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:164)
	org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:183)
	org.apache.jasper.compiler.ParserController.getPageEncodingForJspSyntax(ParserController.java:479)
	org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:420)
	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:190)
	org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:119)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:193)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)


note The full stack trace of the root cause is available in the Apache Tomcat/7.0.52 logs.

spacer.gif


漫之旅
浏览 24173回答 4
4回答

Castle__

index.jsp 这个页面第1行大概是第84个字符,标签里面的两个属性之间没有空格<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>

yanrun

这个错误的意思大概是:JSP规范要求一个属性的名字之前有空格。

梦影剑魂

500是源代码有错误,在index.jsp的第一行
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java