veeru Sep 8th, 2005 ServletContext context = getServletContext(); // set the Sttribute for this context context.setAttribute("name","veeru"); //get the context in another servlet/resorce by context.getAttibute("name");
Suresh Yerra Profile Answers by Suresh Yerra Dec 11th, 2011 We can get the Servlet Context informaiton by using getNamedDispatcher() method in ServletContext.
How to get one Servlet's Context Information in another Servlet?
Access or load the Servlet from the Servlet Context and access the Context Information