/==============action里处理
// 处理Chart名称/路径/热点信息/临时文件
servletRequest.getSession().removeAttribute("JFreeChart_Deleter");ChartRenderingInfo info = new ChartRenderingInfo(
new StandardEntityCollection());
String filename = ServletUtilities.saveChartAsPNG(chart, 500, 300,
info, servletRequest.getSession());
String mapout = ImageMapUtilities.getImageMap(filename, info);
mapout = mapout.replaceAll("href=\"", "target=\"_blank\" href=\"");servletRequest.setAttribute("chartUrl", servletRequest
.getContextPath()
+ "/servlet/DisplayChart?filename=" + filename);
servletRequest.setAttribute("filename", "#" + filename);
servletRequest.setAttribute("mapinfo", mapout);
//===============jsp处理
<img name="charts" src="${chartUrl}" usemap="${filename}" border="0" alt="综合评价结果图" />