tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 300] New - include files fail to compile if pathname is too long BugRat Report#553
Date Sat, 10 Mar 2001 06:05:18 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=300

*** shadow/300	Fri Mar  9 22:05:18 2001
--- shadow/300.tmp.13728	Fri Mar  9 22:05:18 2001
***************
*** 0 ****
--- 1,31 ----
+ +============================================================================+
+ | include files fail to compile if pathname is too long BugRat Report#553    |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 300                         Product: Tomcat 3                |
+ |       Status: UNCONFIRMED                 Version: 3.2.1 Final             |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: High                      Component: Jasper                  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: Justyna.Horwat@eng.sun.com                                   |
+ |  Reported By: gpickering@intellimedia.com                                  |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              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.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-dev-help@jakarta.apache.org


Mime
View raw message