public abstract class ServletParamUtils extends Object
Constructor and Description |
---|
ServletParamUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getParameterValue(String paramName,
javax.servlet.ServletConfig config)
Get a Servlet configuration parameter.
|
static String |
getParameterValue(String paramName,
javax.servlet.ServletConfig config,
String defaultVal)
Get a Servlet configuration parameter.
|
public static String getParameterValue(String paramName, javax.servlet.ServletConfig config)
paramName
- The name of the parameter.config
- The ServletConfig instance.public static String getParameterValue(String paramName, javax.servlet.ServletConfig config, String defaultVal)
paramName
- The name of the parameter.config
- The ServletConfig instance.defaultVal
- The value returned if the pararameter is not defined.Copyright © 2020. All rights reserved.