String wrapper = getServletConfig().getInitParameter(DEPR_INITPARAM_OBJECT_WRAPPER); if (wrapper != null) { // BC if (getInitParameter(Configurable.OBJECT_WRAPPER_KEY) != null) { throw new RuntimeException("Conflicting init-params: " + Configurable.OBJECT_WRAPPER_KEY + " and " wrapper = getInitParameter(Configurable.OBJECT_WRAPPER_KEY); if (wrapper == null) { if (!config.isObjectWrapperExplicitlySet()) {
final String iciInitParamValue = getInitParameter(Configuration.INCOMPATIBLE_IMPROVEMENTS_KEY); if (iciInitParamValue != null) { try { templatePath = getInitParameter(INIT_PARAM_TEMPLATE_PATH); if (templatePath == null && !config.isTemplateLoaderExplicitlySet()) { templatePath = InitParamParser.TEMPLATE_PATH_PREFIX_CLASS; while (initpnames.hasMoreElements()) { final String name = (String) initpnames.nextElement(); final String value = getInitParameter(name); if (name == null) { throw new MalformedWebXmlException( if (getInitParameter(Configuration.DEFAULT_ENCODING_KEY) != null) { throw new ConflictingInitParamsException( Configuration.DEFAULT_ENCODING_KEY, DEPR_INITPARAM_ENCODING); if (getInitParameter(Configuration.TEMPLATE_UPDATE_DELAY_KEY) != null) { throw new ConflictingInitParamsException( Configuration.TEMPLATE_UPDATE_DELAY_KEY, DEPR_INITPARAM_TEMPLATE_DELAY); if (getInitParameter(Configurable.TEMPLATE_EXCEPTION_HANDLER_KEY) != null) { throw new ConflictingInitParamsException( Configurable.TEMPLATE_EXCEPTION_HANDLER_KEY, DEPR_INITPARAM_TEMPLATE_EXCEPTION_HANDLER); bufferSize = Integer.valueOf(parseSize(value)); } else if (name.equals(DEPR_INITPARAM_DEBUG)) { // BC if (getInitParameter(INIT_PARAM_DEBUG) != null) {
String wrapper = getServletConfig().getInitParameter(DEPR_INITPARAM_OBJECT_WRAPPER); if (wrapper != null) { // BC if (getInitParameter(Configurable.OBJECT_WRAPPER_KEY) != null) { throw new RuntimeException("Conflicting init-params: " + Configurable.OBJECT_WRAPPER_KEY + " and " wrapper = getInitParameter(Configurable.OBJECT_WRAPPER_KEY); if (wrapper == null) {
String wrapper = getServletConfig().getInitParameter(DEPR_INITPARAM_OBJECT_WRAPPER); if (wrapper != null) { // BC if (getInitParameter(Configurable.OBJECT_WRAPPER_KEY) != null) { throw new RuntimeException("Conflicting init-params: " + Configurable.OBJECT_WRAPPER_KEY + " and " wrapper = getInitParameter(Configurable.OBJECT_WRAPPER_KEY); if (wrapper == null) { if (!config.isObjectWrapperExplicitlySet()) {
String wrapper = getServletConfig().getInitParameter(DEPR_INITPARAM_OBJECT_WRAPPER); if (wrapper != null) { // BC if (getInitParameter(Configurable.OBJECT_WRAPPER_KEY) != null) { throw new RuntimeException("Conflicting init-params: " + Configurable.OBJECT_WRAPPER_KEY + " and " wrapper = getInitParameter(Configurable.OBJECT_WRAPPER_KEY); if (wrapper == null) { if (!config.isObjectWrapperExplicitlySet()) {
templatePath = getInitParameter(INITPARAM_TEMPLATE_PATH); if (templatePath == null) templatePath = "class://"; while (initpnames.hasMoreElements()) { String name = (String) initpnames.nextElement(); String value = getInitParameter(name); if (getInitParameter(Configuration.DEFAULT_ENCODING_KEY) != null) { throw new ServletException( "Conflicting init-params: " if (getInitParameter(Configuration.TEMPLATE_UPDATE_DELAY_KEY) != null) { throw new ServletException( "Conflicting init-params: " if (getInitParameter(Configurable.TEMPLATE_EXCEPTION_HANDLER_KEY) != null) { throw new ServletException( "Conflicting init-params: " nocache = StringUtil.getYesNo(value); } else if (name.equals(DEPR_INITPARAM_DEBUG)) { // BC if (getInitParameter(INITPARAM_DEBUG) != null) { throw new ServletException( "Conflicting init-params: "
final String iciInitParamValue = getInitParameter(Configuration.INCOMPATIBLE_IMPROVEMENTS_KEY); if (iciInitParamValue != null) { try { templatePath = getInitParameter(INIT_PARAM_TEMPLATE_PATH); if (templatePath == null && !config.isTemplateLoaderExplicitlySet()) { templatePath = InitParamParser.TEMPLATE_PATH_PREFIX_CLASS; while (initpnames.hasMoreElements()) { final String name = (String) initpnames.nextElement(); final String value = getInitParameter(name); if (name == null) { throw new MalformedWebXmlException( if (getInitParameter(Configuration.DEFAULT_ENCODING_KEY) != null) { throw new ConflictingInitParamsException( Configuration.DEFAULT_ENCODING_KEY, DEPR_INITPARAM_ENCODING); if (getInitParameter(Configuration.TEMPLATE_UPDATE_DELAY_KEY) != null) { throw new ConflictingInitParamsException( Configuration.TEMPLATE_UPDATE_DELAY_KEY, DEPR_INITPARAM_TEMPLATE_DELAY); if (getInitParameter(Configurable.TEMPLATE_EXCEPTION_HANDLER_KEY) != null) { throw new ConflictingInitParamsException( Configurable.TEMPLATE_EXCEPTION_HANDLER_KEY, DEPR_INITPARAM_TEMPLATE_EXCEPTION_HANDLER); bufferSize = Integer.valueOf(parseSize(value)); } else if (name.equals(DEPR_INITPARAM_DEBUG)) { // BC if (getInitParameter(INIT_PARAM_DEBUG) != null) {
final String iciInitParamValue = getInitParameter(Configuration.INCOMPATIBLE_IMPROVEMENTS_KEY); if (iciInitParamValue != null) { try { templatePath = getInitParameter(INIT_PARAM_TEMPLATE_PATH); if (templatePath == null && !config.isTemplateLoaderExplicitlySet()) { templatePath = InitParamParser.TEMPLATE_PATH_PREFIX_CLASS; while (initpnames.hasMoreElements()) { final String name = (String) initpnames.nextElement(); final String value = getInitParameter(name); if (name == null) { throw new MalformedWebXmlException( if (getInitParameter(Configuration.DEFAULT_ENCODING_KEY) != null) { throw new ConflictingInitParamsException( Configuration.DEFAULT_ENCODING_KEY, DEPR_INITPARAM_ENCODING); if (getInitParameter(Configuration.TEMPLATE_UPDATE_DELAY_KEY) != null) { throw new ConflictingInitParamsException( Configuration.TEMPLATE_UPDATE_DELAY_KEY, DEPR_INITPARAM_TEMPLATE_DELAY); if (getInitParameter(Configurable.TEMPLATE_EXCEPTION_HANDLER_KEY) != null) { throw new ConflictingInitParamsException( Configurable.TEMPLATE_EXCEPTION_HANDLER_KEY, DEPR_INITPARAM_TEMPLATE_EXCEPTION_HANDLER); bufferSize = Integer.valueOf(parseSize(value)); } else if (name.equals(DEPR_INITPARAM_DEBUG)) { // BC if (getInitParameter(INIT_PARAM_DEBUG) != null) {