Tomcat加载文件时的问题

来源:百度知道 编辑:UC知道 时间:2024/09/25 06:28:03
HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

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

exception

org.apache.jasper.JasperException: /jstl.jsp(3,16) equal symbol expected
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:90)
org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:193)
org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:143)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:401)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.j

jstl.jsp这个文件的第3行需要用equals来判断
你看下是否用了==号进行判断了

去TOMCAT目录下的LOG下把详细错误复制过来看下

你把jstl.jsp的第三行左右的代码复制出来看一下,现在看错误的意思应该是“需要等号”。

你的jsp文件编辑的时候出错了,应该是jstl表达式写错了,你仔细看看代码