A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
Joined: Apr 07, 2004
Apr 07, 2004 11:37:00
I've written a
which adds an object to a new attribute in the ServletContext. What are the conditions to be able to access that ServletContext from a different servlet?
Abdul Narayan D'souza TP
Joined: Apr 01, 2004
Apr 07, 2004 22:00:00
There is one context per "web application" per
Machine.Therefore whenever u call ServletConfig.getServletContext() from
any servlet in an application(context) u get the same object.
I agree. Here's the link:
subject: Inter-servlet communication
someone pls explain me this statement...
ServletContext within ServletConfig
What is the name of the object that is created/maintained by the Servlet Container and contains all
Servlet Context and Servlet
Getting reference to a Servlet Context of a Servlet that's on a different server?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015