Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 44930 invoked from network); 1 Nov 2007 00:33:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2007 00:33:20 -0000 Received: (qmail 75135 invoked by uid 500); 1 Nov 2007 00:33:06 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 75091 invoked by uid 500); 1 Nov 2007 00:33:06 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 75080 invoked by uid 500); 1 Nov 2007 00:33:06 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 75076 invoked by uid 99); 1 Nov 2007 00:33:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2007 17:33:06 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 00:33:32 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id BBAF97141F1; Wed, 31 Oct 2007 17:32:55 -0700 (PDT) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 43757] - Improper parsing of response.sendRedirect() in JSP source In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20071101003255.BBAF97141F1@brutus.apache.org> Date: Wed, 31 Oct 2007 17:32:55 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=43757 funkman@joedog.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From funkman@joedog.org 2007-10-31 17:32 ------- Look at the generated java a little closer. You'll notice after the commented code something like this: out.println("\n") Because there is whitespace at the end of the file after the %> So if one tried to write AFTER a redirect is done - you get an ISE. You need if (someCondition) { response.sendRedirect("./index.jsp"); return; } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org