File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Flash program not loading when using struts 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 » Frameworks » Struts
Bookmark "Flash program not loading when using struts" Watch "Flash program not loading when using struts" New topic
Author

Flash program not loading when using struts

Sreedevi Vinod
Ranch Hand

Joined: Jan 17, 2005
Posts: 117
hi,

I have the following JSP, which works fine and shows the flash program, when I access it directly.
However, when I define an action in sruts-config.xml and access it using that url, the flash program does not load in the JSP page.
The page keeps loading as shown by the progressbar on the browser, but never completes rendering. The title and text at the top does appear. Why could this be happening ?



[ March 29, 2006: Message edited by: Sreedevi Vinod ]
[ March 29, 2006: Message edited by: Sreedevi Vinod ]
Sreedevi Vinod
Ranch Hand

Joined: Jan 17, 2005
Posts: 117
Any advice, anyone ?

Thanks,
Devi
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
I cannot think of a reason for this. Post the sections of your struts-config and action code and maybe somebody will be able to help out.

Now that I think about it, it is probably because the page cannot the file test19.swf. I would play around with your "movie" parameter.

- Brent
Sreedevi Vinod
Ranch Hand

Joined: Jan 17, 2005
Posts: 117
hi

The problem got fixed when I used <html:base> tag.
I remembered that when I saw your tip that maybe the page could not find the swf file. Thanks for that.

-Devi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Flash program not loading when using struts
 
Similar Threads
Problem in displaying swf file
problems playing swf file
History log
Flash animation .swf displayed from cache
Displaying .swf in http and https