}
}
}
//create ActionInvocation
ActionInvocation invocation = createActionInvocation(path, params);
//invoke
Object res = null;
try {
res = invocation.invoke(params);
//result is string
if (res instanceof String) {
String resInfo = res.toString();
ActionProxy ap = invocation.getActionProxy();
Result result = null;
//如果action中存在相应的结果映射
if ((result = ap.getResults().get(resInfo)) != null) {
//调用结果对象相应的结果类型