tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
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:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/553>

REPORT #553 Details.

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

Synopsis: 
include files fail to compile if pathname is too long

Description:
Have an app structured as follows (name of app doesn't matter):
/index.jsp
/includes/reservations_sub_menu_inc.jsp
/reservations/help/index.jsp

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" />
</jsp:include>


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.

Mime
View raw message