tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <>
Subject RE: nested jsp:includes in tomcat3.2beta3
Date Wed, 06 Sep 2000 18:55:02 GMT
I'm not sure how your contexts are set up, but going two parents deep from /gaa-hurling/index.jsp
appears to be leaving the web application.  jsp:include uses a relative URL which isn't allowed
to leave the web application for security reasons.

Are there parts of the URL not shown below?  A simple test I tried that stayed within the
web application worked.  If your jsp:includes aren't trying to leave the web application,
please provide more detail and I'll check further.


-----Original Message-----
From: Donnchadh Ó Donnabháin []
Sent: Wednesday, September 06, 2000 1:57 PM
Subject: nested jsp:includes in tomcat3.2beta3

 When nesting jsp:includes across different directories I get the 
following error:
It should be looking for the compiled class for /tips/tip.jsp
It seems the path to the class file is being truncated, but why are
 all the including pages used to generate the class name for the
included JSP?

/gaa-hurling/index.jsp includes ../../common/rightnavs/hurlinghome.jsp
/common/rightnavs/hurlinghome.jsp includes ../../tips/tip.jsp

making /common/rightnavs/hurlinghome.jsp include /tips/tip.jsp
 seems to fix the problem.



// Donnchadh Ó Donnabháin
// Vistech Software Ltd.
// Building 7, Cork Airport Business Park, Cork, Ireland
// Ph. +353-21-4315007      Fax +353-21-4315066

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

View raw message