Thanks a lot for your immediate reply which helped me a lot to resolve this
problem.

The solution *Christian Bollmeyer *provided is just fine;I make the image
display properly;*
**Bart Busschots's *advice is of great useful,I check all my webapp to make
sure all the things go as expected.*

**Wendy Bossons's * code is right in a jsp page-----------it is the same as
mime.But the flash can NOT display when I put it in a Tiles file,and it is
the real problem I met as Dave Newton pointed out.*

*The solution to flash-problem is* *to name the movie's value you want to
insert as a  context-Relative url as following:
<PARAM NAME=movie VALUE="${pageContext.request.contextPath
}/tiles/myFlashMovie.swf">

and the code to insert a flash is to be:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0
"
    width="783" height="90" id="logo" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" 
value="${pageContext.request.contextPath}/tiles/logo.swf"
/>
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />
    <embed src="${pageContext.request.contextPath}/tiles/logo.swf"
        quality="high" bgcolor="#ffffff" width="783" height="90"
name="logo"
        align="middle" allowScriptAccess="sameDomain"
        type="application/x-shockwave-flash"
        pluginspage="http://www.macromedia.com/go/getflashplayer";
/></object>


I got it as what I said.And if there is any better way ,please notice me.

Thanks again.

Reply via email to