Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flash program not loading when using struts

 
Sreedevi Vinod
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any advice, anyone ?

Thanks,
Devi
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic