Is it reasonable to assume that the thread of execution that represents a
request ceases execution after the request has been fulfilled?
I ask because I'd like to know if in my controller servlet I can maintain a
list of currently executing requests.
I imagined getting the current thread my using Thread currentThread =
Thread.getCurrentThread(), adding a identifier for it to a list, and start
another thread to track the current Thread's progress by using
currentThread.join(). Then when the currentThread ceases executing the
tracker thread removes the identifier from the list.
I'm guessing that this assumes too much about the underlying Servlet/JSP
container.
Scott
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets