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
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(
> 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
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
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