|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.engine.servlet.ServletHelper
public class ServletHelper
Servlet Helper functions
Field Summary | |
---|---|
static String |
CONFIG_NAMESPACE
|
static String |
LOGGING_ROOT
|
static String |
LOGGING_ROOT_DEFAULT
Default Value for the Logging Directory, relative to the webroot |
Constructor Summary | |
---|---|
ServletHelper()
|
Method Summary | |
---|---|
static void |
createRuntimeDirectories(javax.servlet.ServletContext context,
javax.servlet.ServletConfig config)
Create any directories that might be needed during |
static String |
findInitParameter(javax.servlet.ServletContext context,
javax.servlet.ServletConfig config,
String name,
String defaultValue)
Finds the specified servlet configuration/initialization parameter, looking first for a servlet-specific parameter, then for a global parameter, and using the provided default if not found. |
static String |
getRealPath(javax.servlet.ServletConfig config,
String path)
Used to get the real path of configuration and resource information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONFIG_NAMESPACE
public static final String LOGGING_ROOT_DEFAULT
public static final String LOGGING_ROOT
Constructor Detail |
---|
public ServletHelper()
Method Detail |
---|
public static String getRealPath(javax.servlet.ServletConfig config, String path)
path
- path translated to the application root
public static final String findInitParameter(javax.servlet.ServletContext context, javax.servlet.ServletConfig config, String name, String defaultValue)
public static void createRuntimeDirectories(javax.servlet.ServletContext context, javax.servlet.ServletConfig config) throws javax.servlet.ServletException
javax.servlet.ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |