RE: Tomcat 4.1.7 Beta / jsp:include

2002-07-17 Thread James, Stuart

Zeller,

thanks for the response.

I will wait for the next release and hope its fixed, although for your
information changing the relative path to a fully qualified path still
fails. only including a file/jsp from the same directory works.

A workaround has been to use <%@include %> , although not ideal :)

Thanks,

Stuart.

-Original Message-
From: Henner Zeller [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 3:44 PM
To: Tomcat Users List
Subject: Re: Tomcat 4.1.7 Beta / jsp:include



Hi,
> I have a problem that has materialised after  we upgraded our development
> web server to tomcat 4.1.7.
> 
> the  tag is ignored no errors are generated and the page
is
> simply not loaded/included.

I had a similar problem when upgrading to jasper2 (which is the JSP 
compiler included in 4.1.7). This was, when the included files were
addressed relatively. See
  <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10711>
(fix included)

Ah, by the way: make sure, that you remove all the stuff found in the 
work/ subdirectory of your tomcat installation ..

ciao,
 -hen


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


___
Email Disclaimer

This communication may contain confidential or privileged information and 
is for the attention of the named recipient only. 
It should not be passed on to any other person.
Information relating to any company or security, is for information purposes 
only and should not be interpreted as a solicitation or offer to buy or sell 
any security. The information on which this communication is based has
been obtained from sources we believe to be reliable, but we do not 
guarantee its accuracy or completeness. All expressions of opinion are 
subject to change without notice. All e-mail messages, and associated 
attachments, are subject to interception and monitoring for lawful business 
purposes. (c) 2002 Cazenove Service Company or affiliates. 


Cazenove & Co. Ltd and Cazenove Fund Management Limited provide independent 
advice and are regulated by the Financial Services Authority and members of the 
London Stock Exchange.

Cazenove Fund Management Jersey is a branch of Cazenove Fund Management Limited 
and is regulated by the Jersey Financial Services Commission. 

Cazenove Investment Fund Management Limited, regulated by the Financial Services 
Authority and a member of IMA, promotes only its own products and services. 


___


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




Re: Tomcat 4.1.7 Beta / jsp:include

2002-07-17 Thread Henner Zeller


Hi,
> I have a problem that has materialised after  we upgraded our development
> web server to tomcat 4.1.7.
> 
> the  tag is ignored no errors are generated and the page is
> simply not loaded/included.

I had a similar problem when upgrading to jasper2 (which is the JSP 
compiler included in 4.1.7). This was, when the included files were
addressed relatively. See
  
(fix included)

Ah, by the way: make sure, that you remove all the stuff found in the 
work/ subdirectory of your tomcat installation ..

ciao,
 -hen


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat 4.1.7 Beta / jsp:include

2002-07-17 Thread Brian P. Millett

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  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:   
For additional commands, e-mail: