Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 84412 invoked from network); 20 Dec 2001 11:31:39 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Dec 2001 11:31:39 -0000 Received: (qmail 12641 invoked by uid 97); 20 Dec 2001 11:29:54 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 12593 invoked by uid 97); 20 Dec 2001 11:29:53 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 12549 invoked from network); 20 Dec 2001 11:29:52 -0000 Message-Id: To: 'Tomcat Users List' Subject: RE: Illegal State Exception - Further information. Date: Thu, 20 Dec 2001 10:05:23 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > The Servlet spec says that you can not call > HttpServletResponse.sendError() once output has been > committed to the browser. If you do so, you get > the IllegalStateException you are seeing. With > content already sent, it is too late to do a > redirection. AH! *So*, the theory here is that I am generating more than the 8kb of data, which is being autocommited to the browser, then an error occurs and the servlet cannot send the error, but instead raises this exception. Got it. In fact, I write a large form back in html. If the last element were to be null, and I try to write out a value thus: <%= myObject.myProperty %> then I would get this error as the servlet cannot raise a null pointer exception as it would generally do. Is that right? I shall try this today, as it may well explain everything. Justin. -- You're only jealous cos the little penguins are talking to me. *************************************************************** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk *************************************************************** -- To unsubscribe: For additional commands: Troubles with the list: