• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SingleThreadModel

 
Wai Yip Lau
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the API:
Ensures that servlets handle only one request at a time.

I don't think it is correct because the container can create several instances of servlet to handle request. Does the API want to tell each instance only handles one request at a time?
 
Sergey Tyulkin
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the specification means, that each servlet instance will handle only one request at a time
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic