| Author |
More than one servlet per web application
|
Rohit Seth
Greenhorn
Joined: Sep 08, 2008
Posts: 4
|
|
|
Can we have more than one servlet instances running per web app. If yes then how would servletContext(application Context) be defined then ?
|
 |
Ajay Saxena
Ranch Hand
Joined: Nov 13, 2006
Posts: 154
|
|
|
Yes, you can certainly have multiple servlets in a single webapp. The servlet context is a web app level object that could be shared across all the servlets belonging to the web app.
|
 |
 |
|
|
subject: More than one servlet per web application
|
|
|