| Package | Description |
|---|---|
| javax.servlet | |
| javax.servlet.http | |
| javax.servlet.jsp | |
| javax.servlet.jsp.jstl.core |
| Modifier and Type | Method and Description |
|---|---|
ServletContext |
ServletContext.getContext(java.lang.String uri)
Returns the ServletContext for the uri.
|
ServletContext |
ServletRequest.getServletContext()
Returns the servlet context for the request
|
ServletContext |
ServletRequestEvent.getServletContext()
Returns the ServletContext that changed.
|
ServletContext |
FilterConfig.getServletContext()
Returns the ServletContext for the servlet or filter.
|
ServletContext |
ServletRequestWrapper.getServletContext()
Returns the servlet context for the request
|
ServletContext |
ServletContextEvent.getServletContext()
Returns the ServletContext that changed.
|
ServletContext |
ServletConfig.getServletContext()
Returns the ServletContext for the servlet or filter.
|
ServletContext |
GenericServlet.getServletContext()
Returns the application (servlet context) that the servlet
belongs to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncContext.dispatch(ServletContext context,
java.lang.String path) |
void |
ServletContainerInitializer.onStartup(java.util.Set<java.lang.Class<?>> c,
ServletContext ctx) |
| Constructor and Description |
|---|
ServletContextAttributeEvent(ServletContext application,
java.lang.String name,
java.lang.Object value)
Creates a ServletContextAttributeEvent for the changed application.
|
ServletContextEvent(ServletContext application)
Creates a ServletContextEvent from the changed application.
|
ServletRequestAttributeEvent(ServletContext application,
ServletRequest request,
java.lang.String name,
java.lang.Object value)
Creates a ServletContextAttributeEvent for the changed application.
|
ServletRequestEvent(ServletContext application,
ServletRequest request)
Creates a ServletRequestEvent from the changed application.
|
| Modifier and Type | Method and Description |
|---|---|
ServletContext |
HttpSession.getServletContext()
Returns the owning servlet context.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ServletContext |
PageContext.getServletContext()
Returns the servletContext (application object) for the request.
|
| Modifier and Type | Method and Description |
|---|---|
abstract JspApplicationContext |
JspFactory.getJspApplicationContext(ServletContext context) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
Config.get(ServletContext context,
java.lang.String name) |
static void |
Config.remove(ServletContext context,
java.lang.String name) |
static void |
Config.set(ServletContext context,
java.lang.String name,
java.lang.Object var) |