You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Donnchadh Ó Donnabháin <d_...@vistech.ie> on 2000/09/06 19:57:28 UTC

nested jsp:includes in tomcat3.2beta3

 When nesting jsp:includes across different directories I get the 
following error:
java.lang.NoClassDefFoundError:
gaa_0002dhurling/columnists/_0005f_0005f/_0005f_0005f/common/rightnavs/_0005f_0005f/_0005f_0005f/tips/_0002fgaa_0002dhurling_0002fcolumnists_0002f_0002e_0002e_0002f_0002e_0002e_0002fcommon_0002fright
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
and
/common/rightnavs/hurlinghome.jsp includes ../../tips/tip.jsp

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

   Donnchadh

-- 

// Donnchadh Ó Donnabháin  mailto:d_odonnabhain@vistech.ie
// Vistech Software Ltd.   http://www.vistechsoftware.com
// Building 7, Cork Airport Business Park, Cork, Ireland
// Ph. +353-21-4315007      Fax +353-21-4315066