On Tue, 2002-07-16 at 10:56, James, Stuart wrote:
> 
> I have a problem that has materialised after  we upgraded our development
> web server to tomcat 4.1.7.
> 
> the <jsp:include> tag is ignored.... no errors are generated and the page is
> simply not loaded/included.
> 
> (works fine in version 4.0.x)

James, look at the code that is generated.  I noticed that the code for
the jsp:include tag is not compatible with the
JspRuntimeLibrary.include() method.  Try this patch to the jasper2 code:

--- Generator.java.~1~     Thu Jun 27 12:32:17 2002
+++ Generator.java Tue Jul 16 10:46:17 2002
@@ -1155,7 +1155,7 @@
                    out.println("HttpServletRequest request =
(HttpServletRequest)pageContext.getRequest();");
                }
                if (n.isHasIncludeAction()) {
-                   out.println("ServletResponse response =
pageContext.getResponse();");
+                    out.println("HttpServletResponse response =
(HttpServletResponse)pageContext.getResponse();");
                }
            }
 

-- 
Brian Millett                    
Enterprise Consulting Group   "Shifts in paradigms
(314) 205-9030               often cause nose bleeds."
[EMAIL PROTECTED]                           Greg Glenn


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to