Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Serving up a Flash file

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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".
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to HTML and JavaScript, just because
 
Don't touch me. And dont' touch this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic