aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Flash program not loading when using struts
 
Similar Threads
History log
problems playing swf file
Displaying .swf in http and https
Problem in displaying swf file
Flash animation .swf displayed from cache