aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 978
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 ..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet Instance
 
Similar Threads
user defined instance pooling
How Servlet Container creates an instance of your Servlet
ServletException
Disabling servlet caching
Equivalent of 'this' keyword in JSP