日期:2014-05-19 浏览次数:20852 次
Map result = (Map) call.invoke(new Object[]{impMap}); System.out.println("----4----"); String flag = (String)result.get("executeFlag"); System.out.println("----5----" + flag); Object obj = result.get("resultList"); System.out.println("----6----" + (obj==null)); List resultList = (List)obj; System.out.println("----7----" + (resultList==null)); for (int i = 0; i < resultList.size(); i++) { System.out.println("----8----"); Map tmpMap = (Map)resultList.get(i); System.out.println("-----news title-----[" + i + "]:" + tmpMap.get("title")); }
import java.io.Serializable; import java.util.List; public class TransferData implements Serializable { private static final long serialVersionUID = 1L; private List list; private String executeFlag; //getter setter省略 }