my dog learned polymorphism*
The moose likes Servlets and the fly likes Servlet 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 "Servlet" Watch "Servlet" New topic
Author

Servlet

leela krishhna
Greenhorn

Joined: Aug 24, 2012
Posts: 10
Is Servlet is Singleton class or not..
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Not.
leela krishhna
Greenhorn

Joined: Aug 24, 2012
Posts: 10
leela krishhna wrote:Is Servlet is Singleton class or not..

Why ,I need Reason.. Any practical proof is there...
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

I create YourServlet obj = new YourServlet() . and JEE specification not restricted container to create only one instance.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Welcome to JavaRanch leela krishhna
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60788
    
  65

leela krishhna wrote:Why ,I need Reason.. Any practical proof is there...

Nonsense. It's the other way around. You prove that it is.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet
 
Similar Threads
Capturing Form Data
Do you have elegant way of nullpointer exceptions
difference
Export in Excel
Framework creating tips for web applications