It's not a secret anymore!
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
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp:include needs to have "flush=true"" Watch "jsp:include needs to have "flush=true"" New topic

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.(
at org.apache.jasper.compiler.JspParseEventListener.handleInclude(
at org.apache.jasper.compiler.DelegatingListener.handleInclude(
at org.apache.jasper.compiler.Parser$Include.accept(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.tomcat.facade.JasperLiaison.jsp2java(
at org.apache.tomcat.facade.JasperLiaison.processJspFile(
at org.apache.tomcat.facade.JspInterceptor.requestMap(
at org.apache.tomcat.core.ContextManager.processRequest(
at org.apache.tomcat.core.ContextManager.internalService(
at org.apache.tomcat.core.ContextManager.service(
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(
at org.apache.tomcat.util.threads.ThreadPool$

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

Joined: Jan 10, 2002
Posts: 63343

Well, the error message pretty much says it all:


[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:
subject: jsp:include needs to have "flush=true"
It's not a secret anymore!