com.pow2.resources
Class InitServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.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
 
Constructor Summary
InitServlet()
           
 
Method Summary
protected  String getInitParameterFilePath(String initParameter)
          Get the absolute filepath of the file declared by the input initParameter parameter.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
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
 

Field Detail

cat

protected final org.apache.log4j.Category cat
log4j category

Constructor Detail

InitServlet

public InitServlet()
Method Detail

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.