• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:include needs to have "flush=true"

 
northfield Sid
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help with this error:
Error: 500
Location: /myJSPs/jsp/grid-portal-project/determine_rb.jsp
Internal Servlet Error:
org.apache.jasper.compiler.CompileException: C:\tomcat\jakarta-tomcat-3.3.1\webapps\myJSPs\jsp\grid-portal-project\determine_rb.jsp(19,10) jsp:include needs to have "flush=true"
at org.apache.jasper.compiler.IncludeGenerator.(IncludeGenerator.java:96)
at org.apache.jasper.compiler.JspParseEventListener.handleInclude(JspParseEventListener.java:895)
at org.apache.jasper.compiler.DelegatingListener.handleInclude(DelegatingListener.java:185)
at org.apache.jasper.compiler.Parser$Include.accept(Parser.java:299)
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.tomcat.facade.JasperLiaison.jsp2java(JspInterceptor.java:790)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:731)
at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:536)

Here is a simplified version of the html form which calls a jsp

Here is the code for determine.jsp
Please not I am using an Enumeration because I plan to have more form elements but kept simple here.

Here is the jsp page form_mkdir.html page:
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64994
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the error message pretty much says it all:

hth,
bear
 
northfield Sid
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could you explain why I need the flush line?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic