I understand the SERVLETCONTEXT, I understand the essence itself, using this interface we can get environmental data in which the servlet is performed, but as this data is applied and where in practice, I do not understand who can explain the available
Answer 1, Authority 100%
ServletContext is a resource that is available within the session or in the Httpsession object, which can be obtained from HTTPServletRequest, which is available in all classes in the processing of HTTP requests, respectively, SERVLETCONTEXT is customary to use as Session Scope Resource in the controller or standard MVC applications. .
and more … The total resource is used to exchange data between the independent components of the application, such as variable areas of the class visibility, in particular cases are used to exchange data between class methods.