Meaningless Drivel is fun!*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 41180
    
  45
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?
 
Similar Threads
How is Servlet a singleton?
can same servlet have multiple instance in container
more than one instance of servlet
when init() is being called?
why cant there be multiple servlets running at the same time?