java - Use cases for ServletContextAttributeListener -
i understand can use javax.servlet.servletcontextattributelistener
if want know attribute in web app context has been added, removed or replaced. practical use cases listener? (i googled around while, not find practical examples listener.)
the javax.servlet.servletcontext
interface represents view of web application filters , servlets belongs to. through servletcontext
interface, servlet or filter can access raw input streams of web application resources, mechanism logging information, virtual directory translation, , application scope binding objects.
the application scope binding objects consists common objects servlets , filters. objects should consistent rules, change should checked. , 1 of cases javax.servlet.servletcontextattributelistener
can used.
Comments
Post a Comment