tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <>
Subject BugRat Report #553 has been filed.
Date Thu, 07 Dec 2000 21:42:14 GMT
Bug report #553 has just been filed.

You can view the report at the following URL:


REPORT #553 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: serious
Confidence: public
   Release: 3.1, 3.2
   JVM Release: 1.3
   Operating System: WinNT
   OS Release: 4.0
   Platform: Intel

include files fail to compile if pathname is too long

Have an app structured as follows (name of app doesn't matter):

index.jsp includes reservations_sub_menu_inc.jsp using the following lines:

<jsp:include page="../../includes/reservations_sub_menu_inc.jsp" flush="true">
  <jsp:param name="subselected" value="sub3" />

When you try to hit the index.jsp page, the include throws an error because the filename is
too long.

This seems to happen because when tomcat is compiling included JSPs, it prepends the including
file pathname to the class file.  When the illegal class name characters are escaped (./),
the filename grows well beyond 256 characters.

View raw message