我生成了图片,并的到了map,但当鼠标放到线上后没有提示信息imageMap1 = c.getHTMLImageMap("", "", "'eeeeeeee'");//这里用eee只是为了测试
request.getSession().setAttribute("getimageMap1",imageMap1);页面利用sessinn的到:
String imageMap1 =(String)session.getAttribute("getimageMap1");
<img src="<%= chart %>" width=850 height=450 align=top border=0 usemap="#map1" border="0">
<map name="map1"><%= imageMap1 %></map>此时查看页面文件(截取部分):
<img src="getchart.chart?img=chart1&id=B44EEA71D5F43C7596992B5015BFF332_11" width=850 height=450 align=top border=0 usemap="#map1" border="0">
<map name="map1">
<area shape="poly" coords="0,246,992878990,245,992878990,255,0,256" 'eeeeeeee'>
<area shape="poly" coords="992878990,245,0,245,0,255,992878990,255" 'eeeeeeee'>
</map>这证明我业经的到了map,但为什么当鼠标在线上停留是没有信息显示?
request.getSession().setAttribute("getimageMap1",imageMap1);页面利用sessinn的到:
String imageMap1 =(String)session.getAttribute("getimageMap1");
<img src="<%= chart %>" width=850 height=450 align=top border=0 usemap="#map1" border="0">
<map name="map1"><%= imageMap1 %></map>此时查看页面文件(截取部分):
<img src="getchart.chart?img=chart1&id=B44EEA71D5F43C7596992B5015BFF332_11" width=850 height=450 align=top border=0 usemap="#map1" border="0">
<map name="map1">
<area shape="poly" coords="0,246,992878990,245,992878990,255,0,256" 'eeeeeeee'>
<area shape="poly" coords="992878990,245,0,245,0,255,992878990,255" 'eeeeeeee'>
</map>这证明我业经的到了map,但为什么当鼠标在线上停留是没有信息显示?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货