jsp页面传对象参数的一种办法:
1 参数来源页面
var reportValue = JSON.stringify(json);
// var urls = "<%=basePath%>/pages/lcrkfbReport.jsp?orgid="+qjcode+"&data="+
reportValue; //未编码(含“{”,在tomcat7/8中需要转义)
var urls = "<%=basePath%>/pages/lcrkfbReport.jsp?orgid=" + qjcode + "&data=" + encodeURIComponent(reportValue);
window.open(urls, name);
2 接收页面
var json=JSON.parse('<%=data%>');