serverFilterConfiguration.setMaxPostSize(Integer.parseInt(http.getMaxPostSizeBytes())); serverFilterConfiguration.setMaxFormPostSize(Integer.parseInt(http.getMaxFormPostSizeBytes())); serverFilterConfiguration.setMaxBufferedPostSize(Integer.parseInt(http.getMaxSavePostSizeBytes()));