我靠!这是什么错误??为什么我的jsp经常出现这种错误?? 请问如何解决。

csdner 2001-07-22 02:36:39
我靠!这是什么错误??为什么我的jsp经常出现这种错误?? 请问如何解决。


Error: 500
Location: /examples/myjsp/pageAutoFlush.jsp
Internal Servlet Error:

org.apache.jasper.compiler.CompileException: C:\tomcat-3.2.3\webapps\examples\myjsp\pageAutoFlush.jsp(0,0) =Page directive: invalid value for autoFlush
at org.apache.jasper.compiler.JspParseEventListener$AutoFlushHandler.handlePageDirectiveAttribute(JspParseEventListener.java:522)
at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:690)
at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)



注:pageAutoFlush.jsp 的内容如下:

<%@page autoFlush="nada" %>
<html>
<body>
<h1>Page directive test</h1>
</body>
</html>
...全文
29 点赞 收藏 1
写回复
1 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
kingo_liang 2001-07-22
autoFlush 的值只能是true 或者是 false不能为其它值!
回复
相关推荐
发帖
Web 开发
创建于2007-09-28

8.0w+

社区成员

Java Web 开发
申请成为版主
帖子事件
创建了帖子
2001-07-22 02:36
社区公告
暂无公告