On 22/03/2010 17:05, Filip Hanik - Dev Lists wrote:
> here is what I posted to the JSR list
> 
> This is in relation to
> http://markmail.org/message/gafapyibbowo4jdb
> 
> There are two problems that we encounter with the test code below
> 1. This servlet does support Async, so it should call complete(), not
> rely on the container to do so
You and I disagree on this one. We'll see what the EG says. The TCK
expects the container to call complete() and my reading of the spec was
also that the container should call complete().

> 2. Since it calls dispatch() before it calls request.setAttribute, it
> ends up in a loop
If the dispatch returns immediately like the spec says it should, the
attribute will be set (hopefully) before the thread started by the call
to dispatch reads the attribute. I don't like the TCK dpending on the
timing but I think that it what it is trying to do.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to