|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ServletContext | |
---|---|
javax.servlet | The javax.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container. |
javax.servlet.http | The javax.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container. |
Uses of ServletContext in javax.servlet |
---|
Methods in javax.servlet that return ServletContext | |
---|---|
ServletContext |
ServletContext.getContext(String uripath)
Returns a ServletContext object that
corresponds to a specified URL on the server. |
ServletContext |
FilterConfig.getServletContext()
Returns a reference to the ServletContext in which the caller
is executing. |
ServletContext |
GenericServlet.getServletContext()
Returns a reference to the ServletContext in which this servlet
is running. |
ServletContext |
ServletConfig.getServletContext()
Returns a reference to the ServletContext in which the caller
is executing. |
ServletContext |
ServletContextEvent.getServletContext()
Return the ServletContext that changed. |
ServletContext |
ServletRequestEvent.getServletContext()
Returns the ServletContext of this web application. |
Constructors in javax.servlet with parameters of type ServletContext | |
---|---|
ServletContextAttributeEvent(ServletContext source,
String name,
Object value)
Construct a ServletContextAttributeEvent from the given context for the given attribute name and attribute value. |
|
ServletContextEvent(ServletContext source)
Construct a ServletContextEvent from the given context. |
|
ServletRequestAttributeEvent(ServletContext sc,
ServletRequest request,
String name,
Object value)
Construct a ServletRequestAttributeEvent giving the servlet context of this web application, the ServletRequest whose attributes are changing and the name and value of the attribute. |
|
ServletRequestEvent(ServletContext sc,
ServletRequest request)
Construct a ServletRequestEvent for the given ServletContext and ServletRequest. |
Uses of ServletContext in javax.servlet.http |
---|
Methods in javax.servlet.http that return ServletContext | |
---|---|
ServletContext |
HttpSession.getServletContext()
Returns the ServletContext to which this session belongs. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |