Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread code in a Servlet  RSS feed

 
Seetesh Hindlekar
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Just out of curiosity,
1. Can i write the code which involves creating a Thread class along with its run method inside a Servlet?
2. Can the Servlet create an instance of a class which implements a Runnable interface?
Rgds,
Seetesh
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!