dwr 批量调用 转

xml 代码
  1. DWREngine.beginBatch();//批量调用减少对服务器的访问次数    
  2.   DWRUtil.useLoadingImage("images/progressbar_green.gif");    
  3.   DWRUser.getUserById(userId,doUser);    
  4.   DWRArticleType.getTypeByUserId(userId,doArticleTypeList);    
  5.   DWRArticleComment.getLastCommentByUserId(userId,doArticleLastComment);    
  6.   DWRArticle.getArticleList(userId,typeId,"1",doArticleList);    
  7. DWREngine.endBatch();  

你可能感兴趣的:(xml,DWR)