wood burning stoves 2.0*
The moose likes Servlets and the fly likes Maximum number of threads for a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Maximum number of threads for a servlet" Watch "Maximum number of threads for a servlet" New topic
Author

Maximum number of threads for a servlet

Pankaj Kumarkk
Ranch Hand

Joined: Apr 17, 2011
Posts: 108
I would like to know the way to specify maximum number of threads which the container is allowed to create for a particular servlet.
I know it can be done using configuration in the tomcat configuration file(server.xml I guess). I wanted to know if there is a container independent way of specifying the same.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61451
    
  67

No.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Harshal Mekhale
Greenhorn

Joined: Sep 17, 2011
Posts: 4
go through container specification
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Maximum number of threads for a servlet