Project: Tomcat
Bug 45666 JspContextWrapper contains infinite loop in include(String relativeUrlPath, boolean flush)
Reported: 2008-08-21 06:47:17 | Status: resolved fixed

public void include(String relativeUrlPath, boolean flush) throws ServletException, IOException { include(relativeUrlPath, false); // XXX } just calls itself it seems. Perhaps this should be (just a guess): public void include(String relativeUrlPath, boolean flush) throws ServletException, IOException { invokingJspCtxt.include(relativeUrlPath, false); // XXX } This came up for me when I had a .tag file that had an include in it. I was using Tomcat 5.5 but looking at the source of JspContextWrapper.java it looks like this issue is in 5.5 as well as 6 (and the svn trunk).

Files changed in fix:
java/org/apache/jasper/runtime/JspContextWrapper.java