Re: Writing to response and issuing sendError

2012-11-28 Thread Michael-O
Am 2012-11-28 21:41, schrieb Caldarale, Charles R: From: Michael-O [mailto:1983-01...@gmx.net] Subject: Writing to response and issuing sendError The exception is thrown out to the console but the response is still written. As it should be - it's already committed, and may well have

Re: Writing to response and issuing sendError

2012-11-28 Thread Michael-O
Am 2012-11-28 21:39, schrieb Mark Thomas: On 28/11/2012 20:34, Michael-O wrote: Hi, I am having again trouble with the respone.sendError method. The docs say that an IllegalStateException is thrown if response has already been committed. So this should cause an exception: protected void doGet(

RE: Writing to response and issuing sendError

2012-11-28 Thread Caldarale, Charles R
> From: Michael-O [mailto:1983-01...@gmx.net] > Subject: Writing to response and issuing sendError > The exception is thrown out to the console but the response is still > written. As it should be - it's already committed, and may well have been delivered. > If I leave

Re: Writing to response and issuing sendError

2012-11-28 Thread Mark Thomas
On 28/11/2012 20:34, Michael-O wrote: > Hi, > > I am having again trouble with the respone.sendError method. The docs > say that an IllegalStateException is thrown if response has already been > committed. So this should cause an exception: > > protected void doGet(HttpServletRequest request, Htt

Writing to response and issuing sendError

2012-11-28 Thread Michael-O
Hi, I am having again trouble with the respone.sendError method. The docs say that an IllegalStateException is thrown if response has already been committed. So this should cause an exception: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletExcept