com.pow2.resources
Class InitServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.pow2.resources.InitServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- ConnectionFactoryInit, Log4jInit, Pow2ToolkitInit, PropertiesInit
- public abstract class InitServlet
- extends HttpServlet
Pow2 init servlet.
- Author:
- Luca Fossato
- See Also:
- Serialized Form
Field Summary |
protected org.apache.log4j.Category |
cat
log4j category |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cat
protected final org.apache.log4j.Category cat
- log4j category
InitServlet
public InitServlet()
getInitParameterFilePath
protected String getInitParameterFilePath(String initParameter)
- Get the absolute filepath of the file declared by the input
initParameter
parameter.
- Parameters:
initParameter
- the name of the init-parameter declared into the
web application's web.xml configuration file.
The initParameter value must be a valid filename.
- Returns:
- the absolute filepath of the file name declared by the input
initParameter
parameter.
Copyright © 2002-2004 Power Of Two S.R.L. All Rights Reserved.