Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet question

 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
public MyServlet extends HttpServlet implement SingleThreadMode, Runnable
{
public void run()
{
//do something.
}
}
is the code above correct?
 
yi zhu
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see nothing wrong in this code...
But the servlet container will ignore your run() method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic