public void init(ServletConfig config) throws ServletException {
  super.init(config);
  ServletContext context=config.getServletContext();
  String descriptions=context.getInitParameter(TILE_SET_DESCRIPTION_ATTRIBUTE);
  Logger logger=getLogger();
  logger.info("Looking for Tile Set Descriptions at: " + descriptions);
  if (descriptions != null) {
    try {
      URL descriptionFolder=PropUtils.getResourceOrFileOrURL(descriptions);
      PropertiesWanderer wanderer=new PropertiesWanderer(new File(descriptionFolder.getFile()));
    }
 catch (    MalformedURLException e) {
      logger.warning("unable to open for Tile Set properties file given " + descriptions);
    }
catch (    NullPointerException npe) {
      logger.warning("Can't find directory holding Tile Set properties files: " + descriptions);
    }
  }
}

public void init ( ServletConfig config ) throws ServletException { super . init ( config ) ; ServletContext context = config . getServletContext ( ) ; String descriptions = context . getInitParameter ( TILE_SET_DESCRIPTION_ATTRIBUTE ) ; Logger logger = getLogger ( ) ; logger . info ( "Looking for Tile Set Descriptions at: " + descriptions ) ; if ( descriptions != null ) { try { URL descriptionFolder = PropUtils . getResourceOrFileOrURL ( descriptions ) ; PropertiesWanderer wanderer = new PropertiesWanderer ( new File ( descriptionFolder . getFile ( ) ) ) ; } catch ( MalformedURLException e ) { logger . warning ( "unable to open for Tile Set properties file given " + descriptions ) ; } catch ( NullPointerException npe ) { logger . warning ( "Can't find directory holding Tile Set properties files: " + descriptions ) ; } } }
called when the servlet is loaded .
