Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 45327 invoked from network); 27 Sep 2000 22:05:55 -0000 Received: from msp-26-164-174.mn.rr.com (HELO localhost.localdomain) (24.26.164.174) by locus.apache.org with SMTP; 27 Sep 2000 22:05:55 -0000 Received: from fatman (IDENT:nobody@localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.9.3) with SMTP id QAA03198 for ; Wed, 27 Sep 2000 16:04:12 -0500 Message-ID: <135408413.970088652886.JavaMail.nobody@fatman> Date: Wed, 27 Sep 2000 16:04:12 -0500 (CDT) From: BugRat Mail System Reply-To: BugRat Mail System To: tomcat-bugs@cortexity.com Subject: BugRat Report #173 has been filed. Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="135471468.970088652839.JavaMail.nobody@fatman" X-Mailer: org.gjt.mail.EnhancedMimeMsg, Organization: The Giant Java Tree, X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N --135471468.970088652839.JavaMail.nobody@fatman Content-Type: text/plain Content-Transfer-Encoding: 7bit Bug report #173 has just been filed. You can view the report at the following URL: REPORT #173 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: critical Confidence: public Environment: Release: 3.1 Release JVM Release: 1.2.2-006 Operating System: WIndows 2000 OS Release: SP1 Platform: x86 Synopsis: <%@ include %> does not function properly, cycle detection incorrect? Description: <%@ include %> directive does not appear to be implemented correctly. There is no inherent reason why a particular file cannot be included more than once by a jsp page, except when perhaps leading to a cyclical relationship. However, when I tried to do a simple include of "footer.html" twice in the same JSP page, i.e. <%@ include file="footer.html" %> I get a: "Seen file \footer.html already, maybe this is a recursive include?!" error. This doesn't make much sense. Further more, if I change "footer.html" to "Footer.html", the compiler no longer complains. I think this was an unintended implementation error. I am using this case-sensitivity as a hack/workaround for doing multiple includes now, but this really should be fixed. BTW, I tried out Tomcat 3.2 beta 4, and "include" seems to be completely broken (can't ever find the file). See below for exact error (no error message on console) ------------------------------------------------- Error: 500 Location: /test/default.jsp Internal Servlet Error: org.apache.jasper.compiler.ParseException: Seen file \common\Theme\Khaki\footer.html already, maybe this is a recursive include?! at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java, Compiled Code) at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java, Compiled Code) at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java, Compiled Code) at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java, Compiled Code) at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled Code) at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code) at org.apache.jasper.compiler.Parser.parse(Parser.java:1038) at org.apache.jasper.compiler.Parser.parse(Parser.java:1034) at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) --135471468.970088652839.JavaMail.nobody@fatman Content-Type: text/html; name=Report-173.html Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=Report-173.html Content-Description: DataSource attachment 'Report-173.html' BugRat Report # 173

BugRat Report # 173

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

Submitter: _Anonymous ( anonymous-bug@cortexity.com )
Date Submitted: Sep 27 2000, 04:04:12 CDT
Responsible: Z_Tomcat Alias ( tomcat-bugs@cortexity.com )

Synopsis:
<%@ include %> does not function properly, cycle detection incorrect?
Environment: (jvm, os, osrel, platform)
1.2.2-006, WIndows 2000, SP1, x86

Additional Environment Description:

Report Description:
<%@ include %> directive does not appear to be implemented correctly. There is no inherent reason why a particular file cannot be included more than once by a jsp page, except when perhaps leading to a cyclical relationship. However, when I tried to do a simple include of "footer.html" twice in the same JSP page, i.e. <%@ include file="footer.html" %> I get a: "Seen file \footer.html already, maybe this is a recursive include?!" error. This doesn't make much sense. Further more, if I change "footer.html" to "Footer.html", the compiler no longer complains. I think this was an unintended implementation error. I am using this case-sensitivity as a hack/workaround for doing multiple includes now, but this really should be fixed. BTW, I tried out Tomcat 3.2 beta 4, and "include" seems to be completely broken (can't ever find the file). See below for exact error (no error message on console) ------------------------------------------------- Error: 500 Location: /test/default.jsp Internal Servlet Error: org.apache.jasper.compiler.ParseException: Seen file \common\Theme\Khaki\footer.html already, maybe this is a recursive include?! at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java, Compiled Code) at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java, Compiled Code) at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java, Compiled Code) at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java, Compiled Code) at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled Code) at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code) at org.apache.jasper.compiler.Parser.parse(Parser.java:1038) at org.apache.jasper.compiler.Parser.parse(Parser.java:1034) at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code)

View this report online...
--135471468.970088652839.JavaMail.nobody@fatman--