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: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | 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: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]