MCPcopy Create free account
hub / github.com/apache/tomcat / getContext

Method getContext

java/jakarta/servlet/ServletContext.java:88–88  ·  view source on GitHub ↗

Returns a ServletContext object that corresponds to a specified URL on the server. This method allows servlets to gain access to the context for various parts of the server, and as needed obtain RequestDispatcher objects from the context. The given path must begin with "/",

(String uripath)

Source from the content-addressed store, hash-verified

86 * @see RequestDispatcher
87 */
88 ServletContext getContext(String uripath);
89
90 /**
91 * Returns the major version of the Java Servlet API that this servlet container supports. All implementations that

Callers 7

doGetMethod · 0.95
getContextMethod · 0.65
getValueMethod · 0.65
getValueMethod · 0.65
getScopeManagerMethod · 0.65
getValueMethod · 0.65
setValueMethod · 0.65

Implementers 5

TesterServletContexttest/org/apache/tomcat/unittest/Tester
JspCServletContextjava/org/apache/jasper/servlet/JspCSer
NoPluggabilityServletContextjava/org/apache/catalina/core/Standard
ApplicationContextjava/org/apache/catalina/core/Applicat
ApplicationContextFacadejava/org/apache/catalina/core/Applicat

Calls

no outgoing calls

Tested by 1

doGetMethod · 0.76