Package | Description |
---|---|
javax.servlet | |
javax.servlet.http |
Modifier and Type | Method and Description |
---|---|
ServletContext |
ServletContext.getContext(String uripath)
Returns a
ServletContext object that
corresponds to a specified URL on the server. |
ServletContext |
GenericServlet.getServletContext()
Returns a reference to the
ServletContext in which this servlet
is running. |
ServletContext |
ServletContextEvent.getServletContext()
Return the ServletContext that changed.
|
ServletContext |
ServletRequestEvent.getServletContext()
Return the ServletContext that changed.
|
ServletContext |
ServletConfig.getServletContext()
Returns a reference to the
ServletContext in which the caller
is executing. |
ServletContext |
FilterConfig.getServletContext()
Returns a reference to the
ServletContext in which the caller
is executing. |
Constructor and Description |
---|
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 from the given context for the
given attribute name and attribute value.
|
ServletRequestEvent(ServletContext sc,
ServletRequest request)
Construct a ServletRequestEvent from the given context.
|
Modifier and Type | Method and Description |
---|---|
ServletContext |
HttpSession.getServletContext()
Returns the ServletContext to which this session belongs.
|
Copyright © 2015. All rights reserved.