public void init() {
    printBaseURL = PropertyUtil.get("service.print.maplink.json.url");
    printBaseGeojsURL = PropertyUtil.get("service.print.maplink.geojson.url");
    printSaveFilePath = PropertyUtil.get("service.print.saveFilePath");

    ACCEPTED_FORMATS.add("application/pdf");
    ACCEPTED_FORMATS.add("image/png");

    ProxyService.init();
  }
  public void init() {
    printBaseURL = PropertyUtil.get("service.print.maplink.json.url");
    printBaseGeojsURL = PropertyUtil.get("service.print.maplink.geojson.url");
    printSaveFilePath = PropertyUtil.get("service.print.saveFilePath");

    ACCEPTED_FORMATS.add("application/pdf");
    ACCEPTED_FORMATS.add("image/png");

    EXTRA_PARAMS.add(PARM_GEOJSON);
    EXTRA_PARAMS.add(PARM_TILES);
    EXTRA_PARAMS.add(PARM_TABLE);
    EXTRA_PARAMS.add(PARM_TABLETEMPLATE);
    EXTRA_PARAMS.add(PARM_SAVE);

    ProxyService.init();
  }
  private JSONArray getTilesJSON(ActionParameters params) throws ActionException {
    JSONArray tilesjs = null;
    try {
      // GeoJson graphics layers to selected layers
      final String tiles = params.getHttpParam(PARM_TILES, "");

      if (!tiles.isEmpty()) {
        tilesjs = new JSONArray(tiles);
      }

      // Get print area bbox
      final String response = ProxyService.proxy("print", params);
      JSONObject printbbox = JSONHelper.createJSONObject(response);
      // Fix bbox to print size area only for statslayer
      fixBbox(printbbox, tilesjs);

    } catch (Exception e) {
      throw new ActionException("Failed to get tiles json ", e);
    }

    return tilesjs;
  }