解决方案 »
- HTTP Status 500 - Cannot call sendRedirect() after the response has been committ
- 有关SSH的资料或博客?
- javaweb中models的问题,,
- 关于S标签的问题
- 求教一个关于static成员变量的问题
- JAVA服务器能不能调用WCF的服务,能的话有例子可以提供吗?
- System.out.println(new Integer(1).equals(new Long(1)));为什么是这个答案?????
- 没有搜到答案!所以请问为何在webwork的action中得不到pageContext??
- struts中java操作Excel的问题?
- tomcat配置问题???
- HibernateTemplate执行一次查询,输出的语句显示执行了多次查询,什么原因,如何解决?
- 请问下,高手
stoEntity = adminService.loadStoEntityById(new Long(this.stoId));
Map stoCloseResult=sapService.stoClose(stoEntity.getStoNo(),stoEntity.getStoItemNo());//trigger sap to close the sto
List tempList=(List)stoCloseResult.get("return");
Map returnMsg=new HashMap();
if (tempList!=null&&tempList.size()>0) {
returnMsg=(Map)tempList.get(0);
}
if (returnMsg.get("TYPE")!=null&&returnMsg.get("TYPE").toString().equals("S")) {//S:sucess E:error Warning I:info A:abort
stoEntity.setStatus("Close");
stoEntity.setDeleteReason(deleteStoRe);
}
adminService.updateStoInfo(stoEntity);
return SUCCESS;
}
谢谢,我子页面处理的时候用的js就是window.opener.location.reload(),但是在我测试的时候,发现子页面处理数据时一旦调用SAP中的RFC,即sapService.stoClose()方法,父页面刷新无效,必须手动刷新,父页面数据才能更新,但是如果注销掉这个方法,直接处理数据,就可以刷新