<% Map map=(Map)request.getAttribute("map");
String pics=(String)map.get("Pic");
String texts=(String)map.get("text");
%>
<script type="text/javascript">
imgLink1=escape("#");
imgLink2=escape("#");
imgLink3=escape("#");
imgLink4=escape("#");
imgLink5=escape("#");
var focus_width=393
var focus_height=122
var text_height=18
var swf_height = focus_height+text_height
var pics="<%=pics%>"; 我在这付的值怎么接受不到?
alert(pics); 这出来的象乱码....反正不是我传过去的值,斑竹帮看看
var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5
var texts="<%=texts%>";
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="pic/focus2.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('</object>');
</script>
[求助]一个页面效果