You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Liu, Xiaoyan" <xl...@CapitalThinking.com> on 2002/08/05 21:31:11 UTC
RE: Tomcat 4.1.7/8 Beta / jsp:include
I'm having problems with jsp:include or %@include under tomcat 4.1.7/8.
What happens is that 'include' does not recognize 'symlinked' directory.
Tomcat simply ignores 'includes' and gives no error msg whatsoever.
When I manually creat that directory, copy over all the files, it sees the
'include' jsp page, but give the exception described below( Is the following
fix in 4.1.8 milestone release?)
-----Original Message-----
From: Brian P. Millett [mailto:bpm@ec-group.com]
Sent: Wednesday, July 17, 2002 10:05 AM
To: Tomcat Users List
Subject: Re: Tomcat 4.1.7 Beta / jsp:include
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."
bpm@ec-group.com Greg Glenn
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>