If the swf file is in the same dir as your HTML / JSP page, then it should
work. Is your server correctly working for other JSP pages?

Do the swfobject test pages work for you? (making sure that you flash player
is happy on the browsers you are testing against)


If you right click in the area where the swf file is supposed to be (the
blank area), so you get a "movie not loaded" message?

Again, a link to your live page would be the easiest way to help.

Aran

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of jOliveira
Sent: Sunday, 12 April 2009 6:22 AM
To: SWFObject
Subject: Re: SWFObject works as HTML but not as .JSP


Hi sorry

In Chrome allways i see an icon with "donwload adobe Player" in other
IE7  Firefox a blank page.

I think there is a prolem with the value="name.swf"   perhaps i have
to put a url link, a "file://...." i don't know.

regrads


On 10 abr, 22:01, Aran Rhee <[email protected]> wrote:
> What do you mean doesn't work?
>
> It would be much more helpful if you could describe what actually happens
> like "page is not displayed at all", or "alternate content is always
> displayed", or "javascript error of xxx is displayed" etc.
>
> from what I can see, you only have a single line of JSP code in your
> example. Is there something dynamic you are actually hoping to achieve on
> the page?
>
> Also, a link to the problem page is the easiest way for others to
> investigate might be the issue.
>
> Regards,
> Aran
>
> On Sat, Apr 11, 2009 at 9:17 AM, jOliveira
<[email protected]>wrote:
>
>
>
> > Hi
>
> > If i want to see a test.swf from  html it's works fine, but if i
> > change to .jsp dont't work any idea ??
>
> > see the code:
>
> > JSP
> > -----
>
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
> >www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> > <%@ page contentType="text/html;charset=iso-8859-1"%>
>
> > <html>
> >        <head>
> >                <title></title>
> >                <meta http-equiv="Content-Type" content="text/html;
> > charset=iso-8859-1" />
> >                <script type="text/javascript"
> > src="./scripts/swfobject.js"></
> > script>
> >                <script type="text/javascript"
> > src="../scripts/swfobject.js"></
> > script>
> >                <script type="text/javascript">
> >                        swfobject.registerObject("myFlashContent",
"9.0.0",
> > "expressInstall.swf");
> >                </script>
> >        </head>
> >        <body>
> >                <div>
> >                        <object
> > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> > width="800" height="600" id="myFlashContent">
> >                                <param name="movie"
> > value="c:/Video/test3.swf" />
> >                                <!--[if !IE]>-->
> >                                <object
type="application/x-shockwave-flash"
> > data="c:/Video/
> > test3.swf" width="800" height="600">
> >                                <!--<![endif]-->
> >                                        <a href="
> >http://www.adobe.com/go/getflashplayer";>
> >                                        <img src="
> >http://www.adobe.com/images/shared/download_buttons/
> > get_flash_player.gif" alt="Get Adobe Flash player" />
> >                                        </a>
> >                                <!--[if !IE]>-->
> >                                </object>
> >                                <!--<![endif]-->
> >                        </object>
> >                </div>  </body>
> > </html>
>
> > HTML
> > --------
>
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
> >www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> > <html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
> >        <head>
> >                <title></title>
> >                <meta http-equiv="Content-Type" content="text/html;
> > charset=iso-8859-1" />
> >                <script type="text/javascript"
> > src="./scripts/swfobject.js"></
> > script>
> >                <script type="text/javascript"
> > src="../scripts/swfobject.js"></
> > script>
> >                <script type="text/javascript">
> >                        swfobject.registerObject("myFlashContent",
"9.0.0",
> > "expressInstall.swf");
> >                </script>
> >        </head>
> >        <body>
>
> >                <div>
> >                        <object
> > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> > width="800" height="600" id="myFlashContent">
> >                                <param name="movie"
> > value="c:/Video/test3.swf" />
> >                                <!--[if !IE]>-->
> >                                <object
type="application/x-shockwave-flash"
> > data="c:/Video/
> > test3.swf" width="800" height="600">
> >                                <!--<![endif]-->
> >                                        <a href="
> >http://www.adobe.com/go/getflashplayer";>
> >                                                <img src="
> >http://www.adobe.com/images/shared/download_buttons/
> > get_flash_player.gif" alt="Get Adobe Flash player" />
> >                                        </a>
> >                                <!--[if !IE]>-->
> >                                </object>
> >                                <!--<![endif]-->
> >                        </object>
> >                </div>
> >        </body>
> > </html>
>
> > Thanks



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to