This patch fixes #3079 misto% runsocks cvs diff -u Parser.java Index: Parser.java =================================================================== RCS file: /home/cvspublic/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/compiler/P arser.java,v retrieving revision 1.12 diff -u -r1.12 Parser.java --- Parser.java 2001/07/12 23:29:31 1.12 +++ Parser.java 2001/09/14 22:39:54 @@ -1095,8 +1095,13 @@ boolean noJspElement = false; while (reader.hasMoreInput()) { - if (until != null && reader.matches(until)) + if (until != null && reader.matches(until)) { + if (tmplStart == null) + tmplStart = reader.mark(); + if (tmplStop == null) + tmplStop = reader.mark(); return; + } // If the file has changed because of a 'push' or a 'pop' // we must flush the character data for the old file.