File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Flash Object failing to load whe called through a Struts Layout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Flash Object failing to load whe called through a Struts Layout" Watch "Flash Object failing to load whe called through a Struts Layout" New topic
Author

Flash Object failing to load whe called through a Struts Layout

Ehrenfrids Murzello
Greenhorn

Joined: Oct 06, 2005
Posts: 7
A shockwave object is to be displayed within a tile on a (struts) tiles layout. The code on the JSP is as follows:

<center>
<object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=7,0,0,0"
id="PMC" width="800" height="600">
<param name="movie" value="head3.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#FFFFFF">
<embed name="PMC" src="head3.swf" quality="high" bgcolor="#FFFFFF"
width="400" height="300"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed>
</object>
</center>

I have tried with different versions of codebase and have tried using HTML instead of JSP.
The HTML/JSP is displayed correctly if I access it directly through a URL, but it fails when I call the layout.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60732
    
  65

"Ehrenfrids",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Be aware that this is your 3rd warning. Please change your display name prior to your next post or your account will be closed.

bear
JavaRanch Sheriff
[ January 24, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Flash Object failing to load whe called through a Struts Layout
 
Similar Threads
Help with flash header
Flash Object failing to load whe called through a Struts Layout
Flash program not loading when using struts
anyone know where I can test java?
Flash button in jsp