A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
More than one servlet per web application
Joined: Sep 08, 2008
Sep 08, 2008 00:54:00
Can we have more than one
instances running per web app. If yes then how would servletContext(application Context) be defined then ?
Joined: Nov 13, 2006
Sep 08, 2008 01:31:00
Yes, you can certainly have multiple
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.
I agree. Here's the link:
subject: More than one servlet per web application
What is the difference between ServletContext and ServletConfig
****ServletContext and WebApplication confusion****
How Many Action Servlets
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014