asyncMsg.jsp
884 Bytes
<%@page import="weaver.formmode.excel.ExcelCacheUtil"%>
<%@page import="weaver.formmode.exttools.impexp.common.ImpExpCacheUtil"%>
<%@page import="weaver.formmode.cache.StringSyncUtil"%>
<%@page import="com.alibaba.fastjson.JSONObject"%>
<%@page import="weaver.general.Util"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/mobilemode/init2.jsp"%>
<%
/**
-----------------------------说明-----------------------------
同步集群缓存
*/
out.clear();
String asyntype=Util.null2String(request.getParameter("asyntype"));
JSONObject jsonObject = new JSONObject();
if("impexp".equals(asyntype)){
jsonObject = ImpExpCacheUtil.receiveMsg(request, response);
}else if("stringsync".equals(asyntype)){
jsonObject = StringSyncUtil.receiveMsg(request, response);
}else{
jsonObject = ExcelCacheUtil.receiveMsg(request, response);
}
%>
<%=jsonObject%>