ResultConfig resultConfig = new ResultConfig();
resultConfig.addParam("actionName", "someActionName");
resultConfig.addParam("namespace", "someNamespace");
resultConfig.addParam("encode", "true");
resultConfig.addParam("parse", "true");
resultConfig.addParam("location", "someLocation");
resultConfig.addParam("prependServletContext", "true");
resultConfig.addParam("method", "someMethod");
resultConfig.addParam("param1", "${#value1}");
resultConfig.addParam("param2", "${#value2}");
resultConfig.addParam("param3", "${#value3}");