java.lang.Object
|
+--stec.iws.ServletContextManager
public class ServletContextManager extends Object
Methods used to access Servlet Contexts.
Methods
Method
|
Description
|
getServletContext
|
Returns the ServletContext for the specified URI.
|
getServletContext
Returns the ServletContext for the specified URI.
Syntax
public static ServletContextImpl getServletContext(String uri)
throws Exception
Parameters
uri
|
the ServletContext associated with the specified URI.
|
Returns
ServletContextImpl
|
the ServletContext associated with the specified URI.
|
Throws
Exception
|
any exception thrown.
|
Example
ServletContextImpl context =
ServletContextManager.getServletContext("/");
|