Hi, I have two threads when running a servlet. The main thread and in class thread. The main thread in responsilble for request and response and the in class thread in responsible in getting the query strings and saving it to the database.
However, every time I access my servlet, the in class thread just keep on producing another instance of thread and this previous instance of it does not stop or collected by garbage collector. So it I will access my servlet 5 time, there will be 5 instance if this thread wil be created and these threads will keep on staying in the process taking a lot of resource. And the garbase collector does not collect this threads. So what do you think? Thanks /renz ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
