81,092
社区成员
发帖
与我相关
我的任务
分享
<jsp:useBean></jsp:useBean>
把dao引入, public Map[] getInstitute() {
Institute institute = new Institute();
Result result = institute.selAbout();
Map[] maps = result.getRows();
institute.close();
return maps;
}
<jsp:useBean id="index" class="com.bzf.index.dao.IndexDao" scope="page"></jsp:useBean>
${index.institute[0]["Institute_contact"]}
JSONObject json = new JSONObject();
json.put("statistics1", new JSONObject(new Statistics(map1)));
var st1 = oJsonData.statistics1;
eval("$('#statisticTbl').append('<tr><td><b>" + oParam.p1Name + "<td align=right>' + st1.maximun + '<td align=right>' + st1.minimun + '<td align=right>' + st1.median + '<td align=right>'+st1.average+'<td align=right>'+st1.standardDeviation + '<td>' + " + oParam.p1Desc + ")");