• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Serving up a Flash file

 
Paul Erion
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using JBoss/Tomcat and JSP to serve up Flash (swf) files, but I'm running into a little difficulty. The Flash file plays fine when the browser is running on the same machine as the server; but, is a no-show when I access the web page from a different machine -- though the rest of the page (such as it is) is displayed. Oh, and the Flash files are generated dynamically; in other words, there's not just one flash file that I can squirrel away.

Following is the HTML that gets generated by the JSP (it's been pared down for testing purposes):

I've tried a couple of different values for the file specification (for example, "file:///C:/FlashFiles/test.swf" and "C:/FlashFiles/test.swf"), but this hasn't had any effect. Is this a security issue? Any thoughts on what could be going on?

Thanks,

Paul

p.s., I'm using Windows XP Pro/JBoss 3.2.3/Tomcat 4.1.29

[ February 17, 2005: Message edited by: Paul Erion ]
[ February 17, 2005: Message edited by: Paul Erion ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're pointing it to a file on the local machine.
<PARAM name="movie" value="file:/C:/FlashFiles/test.swf">

Move the flashfiles into the root of your webapp and set the value to
value="FlashFiles/test.swf".
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to HTML and JavaScript, just because
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic