2012/1/8 beep02 <peter.kov...@gmail.com>:
> How can I release the request thread and in the same time keep user in wait
> without response?
> Is there some way to achieve that?

Yes, either use Servlet 3.0 container such as Tomcat 7 (just google
for AsyncContext [1] and ServletRequest.startAsync [2]).
Or (for older versions of servlet containers that don't support
Servlet 3.0) you have to rely on something like Comet - this is the
case with Tomcat 6, for example.

[1] http://docs.oracle.com/javaee/6/api/javax/servlet/AsyncContext.html
[2] 
http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#startAsync()

Reply via email to