aspose file tools*
The moose likes Servlets and the fly likes can there ba more than one instance of servlet of a servlet at one time? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "can there ba more than one instance of servlet of a servlet at one time?" Watch "can there ba more than one instance of servlet of a servlet at one time?" New topic
Author

can there ba more than one instance of servlet of a servlet at one time?

manas ranjan mandal
Ranch Hand

Joined: Apr 02, 2008
Posts: 97
I want to know that can there be more than one instance of servlet class in the servlet container?if yes please give me an example
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42264
    
  64
A container might create more than one instance if the servlet implements the SingleThreadModel interface. But that interface is deprecated and shouldn't be used any more, so this is kind of an academic example.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can there ba more than one instance of servlet of a servlet at one time?