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.
Title: BugRat Report # 553

BugRat Report # 553

Project: Tomcat Release: 3.1, 3.2
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: high Severity: serious
Confidence: public

Submitter: Greg Pickering ( [EMAIL PROTECTED] )
Date Submitted: Dec 7 2000, 03:42:14 CST
Responsible: Z_Tomcat Alias ( [EMAIL PROTECTED] )

Synopsis:
include files fail to compile if pathname is too long
Environment: (jvm, os, osrel, platform)
1.3, WinNT, 4.0, Intel

Additional Environment Description:

Report 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: 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.

Workaround:
null

View this report online...

Reply via email to