Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread code in a Servlet

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic