欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

jsp中flash读取xml路径问题

程序员文章站 2022-06-22 14:49:31
<%String path=request.getContextPath(); %>  

<%String path=request.getContextPath(); %>

 


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://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="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="970" height="207">
 
  </embed>
</object>