if (validateInitParameters()) { throw new UnavailableException("Missing configuration param"); } // rest of servlet logic would go here...
String initParam = getServletConfig().getInitParameter(CONFIG_PARAM); return CONFIG_VALUE.equals(initParam);