Win a copy of Head First Agile this week in the Agile forum!
    Bookmark Topic Watch Topic
  • New Topic

problem regarding servlets+ threads  RSS feed

 
bhavya raj
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi to ALL

When i invoke doPost () then iam creating thread and for every 5 sec it calls doGet() .

If i close browser then servlet is not invkoing but thread is running

How to stop a thread when we close browser?

For understanding problem clearly look at folloeing thread

[URL=http://www.coderanch.com/t/362659/Servlets/java/invoke-method-recursively-every-minutes]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66208
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
In fact, please continue the discussion in the original thread that you referenced.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!