FileDocCategorySizeDatePackage
LoggerSkel.javaAPI DocExample656Thu May 08 15:26:06 BST 2003None

LoggerSkel

public class LoggerSkel extends HttpServlet

Fields Summary
private Logger
log
Constructors Summary
Methods Summary
public voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)

    
    //do logging here if necessary
      
    
public voidinit()

  
  PropertyConfigurator.configure(getServletContext().getRealPath("/") +
     "WEB-INF/classes/servletLog.properties");
  log = Logger.getLogger(LoggerSkel.class);
  log.debug("Instance created of: " + getClass().getName());