DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43757>. 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 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Additional Comments From [EMAIL PROTECTED] 2007-10-31 19:02 ------- (In reply to comment #3) > 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; > } You are correct, and I noted the cause (a little less verbosely) in my reply to Mark Thomas' response. However, the error generated does not properly indicate the line number that generated the error. That is what I'm driving at. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]