wood burning stoves 2.0*
The moose likes Servlets and the fly likes Servlet Instance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Instance" Watch "Servlet Instance" New topic
Author

Servlet Instance

RajeshDuray
Greenhorn

Joined: May 25, 2006
Posts: 11
Is there is any way to create a multiple instance for a servlet explicitly?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

You can create multiple servlet entries in you web.xml file that all use the same servlet class.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Hi,

Here you mentioned multiple servlet names mapped to single class..

How about other way round....multiple classes mapped with same name...

I didnt check it practically ..
 
Don't get me started about those stupid light bulbs.
 
subject: Servlet Instance
 
Similar Threads
How Servlet Container creates an instance of your Servlet
user defined instance pooling
Disabling servlet caching
Equivalent of 'this' keyword in JSP
ServletException