LOG.info("Enable no cache mode.");
LOG.info("Enable 'no cache' mode.");
    public void init(ServletConfig config) throws ServletException {        super.init(config);        String nc = getParameter(NO_CACHE_PARAMETER);        if ("true".equalsIgnoreCase(nc)) {            noCache = true;            LOG.info("Enable no cache mode.");        }        int maxImageCacheSize = Constants.DEFAULT_MAX_IMAGE_CACHE_SIZE;        String mics = getParameter(MAX_IMAGE_CACHE_SIZE_PARAMETER);        if (mics != null) {            maxImageCacheSize = Integer.parseInt(mics);            LOG.info("Set max image cache size to " + maxImageCacheSize + ".");        } else {            LOG.info("Set max image cache size to default value ("                    + maxImageCacheSize + ").");        }        String imageRepositoryURL = ServletTools.computeResourceURI(                getServletContext(), IMAGE_REPOSITORY_DEFAULT_URL, getClass());        LOG.info("Set image repository url to '" + imageRepositoryURL + "'.");        getServletContext().setAttribute(IMAGE_REPOSITORY_PROPERTY,                imageRepositoryURL);        imagesCache = new BasicImagesCache(maxImageCacheSize);        imageLoaderFactory = Constants.getImageLoaderFactory();    }