You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/03/10 07:05:18 UTC

[Bug 300] New - include files fail to compile if pathname is too long BugRat Report#553

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