struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Re: Dispatcher attempts to write on the response after it has been commited
Date Tue, 18 Mar 2014 14:21:26 GMT
Lukasz, the ServletResponse interface does contain an isCommitted() method.
We can avoid this situation by checking it first.


On Tue, Mar 18, 2014 at 1:24 AM, Lukasz Lenart <lukaszlenart@apache.org>wrote:

> 2014-03-18 7:01 GMT+01:00 Jose L Martinez-Avial <jlmagc@gmail.com>:
> > Well, that's a good thing, but anyway I think the default dispatcher
> should avoid this kind of error.
>
> The problem is (as far I can recall) that it's a Weblogic specific
> situation. I mean, Tomcat doesn't throw exception when user aborts
> opening a web page. So I'd like to avoid keep container specific code
> in the core. That's why I extend possibilities to customise the core
> with custom plugins.
>
> But sure, prepare a patch and we will see :-)
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Cheers,
Paul

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message