Hi all, I've written a servlet 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? Cheers! Gareth
Yo Gareth, There is one context per "web application" per Java Virtual Machine.Therefore whenever u call ServletConfig.getServletContext() from any servlet in an application(context) u get the same object.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.