主页 > 知识库 > 网络编程 > JSP/Java >

jsp中flash读取xml路径问题

来源:中国IT实验室 作者:佚名 发表于:2013-05-17 13:42  点击:
%String path=request.getContextPath(); %%String path=request.getContextPath(); % object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0 width=
 <%String path=request.getContextPath(); %><%String path=request.getContextPath(); %>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="970" height="347">
  <!-- 解决xml -->
  <param name="base" value="<%=path%>/ga/mainPage/"></param>
  <param name="movie" value="<%=path%>/ga/mainPage/imageshow.swf" />
  <param name="quality" value="high" />
  <param name="wmode" value="transparent" />
  <embed src="<%=path%>/ga/mainPage/imageshow.swf" FlashVars="<%=path%>/ga/mainPage/xml/images.xml" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="970" height="207">
 
  </embed>
</object>

    有帮助
    (0)
    0%
    没帮助
    (0)
    0%