Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Interrupting tomcat threads.

keif

2007-07-19

Replies:


Hi,

I'd like to find a way to stop the first request from processing when a
second one is recieved. So the first request comes in and the container
starts a thread to process it. Then the second request comes in and before
it is processed, I want it to cancel processing the first request.

Can this be accomplished by interrupting threads? Should I spawn new threads
for such processing and manage them instead of working with threads given by
the container?

Thank you,

keif.
--
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.