I have written i simple web application using Eclipse and Tomcat 6. I'm trying to stream a flv video in jsp page. It works good if flv file is located under webroot, but when i change location ex. c:/ the file is not loaded. I'm using jw player so i opened a question in that forum, and i received an answer that there is no way to access local filesystem from tomcat (http://www.jeroenwijering.com/?thread=11464) . here is my sample code:
<div id="container"> Get the Flash Player to see this video.</div> <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> var s1 = new SWFObject("mediaplayer.swf","mediaplayer","500","450","8"); s1.addParam("allowfullscreen","true"); s1.addVariable("width","500"); s1.addVariable("height","450"); s1.addVariable('file', 'file:///C:/video/star.flv'); s1.write("container"); </script> Im trying to load a file that is located into c:/video Any idea, Thanks in advance -- View this message in context: http://www.nabble.com/Access-Local-File-System-tp18296333p18296333.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]