Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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
How Many Action Servlets
What is the difference between ServletContext and ServletConfig
****ServletContext and WebApplication confusion****
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014