tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Scott <dasc...@mindspring.com>
Subject Re: Notification when HTTP client aborted connection?
Date Sat, 26 Oct 2002 20:56:47 GMT
Steve Parkinson wrote:

>We have some servlets which may potentially create
>long-lived database searches, data mining, etc. If the
>user is willing to wait for the servlet to complete,
>everything is good, but if they press 'stop', visit
>another page, or otherwise close the connection to the
>webserver, we want to get notified. This way, we can
>abort the database connection, so the database isn't
>being used to run unnecessary searches.
>
>First, is there a facility in the API for a servlet to
>set up a listener, so the servlets gets notified when
>the servlet container has lost the connection? 
>
>Secondly, is anyone aware of any webserver
>implementation which triggers the notification?
>
>It seems that this would be an obvious kind of
>feature, but doesn't seme to be implemented. I also
>asked on the Sun Java Servlet forum, but no one seems
>to have any idea.
>
>Thanks
>Steve
>
>
>
>
>__________________________________________________
>Do you Yahoo!?
>Y! Web Hosting - Let the expert host your web site
>http://webhosting.yahoo.com/
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
>
>
>  
>




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message