aspose file tools*
The moose likes JSP and the fly likes jsp:include needs to have Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp:include needs to have "flush=true"" Watch "jsp:include needs to have "flush=true"" New topic
Author

jsp:include needs to have "flush=true"

northfield Sid
Ranch Hand

Joined: Aug 08, 2002
Posts: 106
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

Joined: Jan 10, 2002
Posts: 60071
    
  65

Well, the error message pretty much says it all:

hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
northfield Sid
Ranch Hand

Joined: Aug 08, 2002
Posts: 106
could you explain why I need the flush line?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp:include needs to have "flush=true"
 
Similar Threads
Why does it not print out the database columns???
Need help with jsp page so that it calls a good working bean
Browser back button
Error using taghandler, why does it not work?
Why error "Attempted a bean operation on a null object."???