public void init(FilterConfig filterConfig) throws ServletException {
    ctx = filterConfig.getServletContext();
    String temp = filterConfig.getInitParameter("debug");
    debug = (String.valueOf(temp).equals("true"));
  }
public void init ( FilterConfig filterConfig ) throws ServletException { ctx = filterConfig . getServletContext ( ) ; String temp = filterConfig . getInitParameter ( "debug" ) ; debug = ( String . valueOf ( temp ) . equals ( "true" ) ) ; }
/* (non-Javadoc)
@see javax.servlet.Filter#init(javax.servlet.FilterConfig)