On Tue, Nov 12, 2002 at 08:48:27PM -0800, Gary D Kline wrote: > Hi Gang, > > I've been wedged the past several nights trying to get a > very simple FORM SELECT OPTION to exec xmms or zinf that points > to a file or URL. Looks like using Java is the only way to > go and that means getting my feet wet in the Java world. > > So far I've found small smaple scripts that, when you have a > down-down menu, and choose one, the browser goes to the URL > selected. (This thru the window.open() call, I think.) > Is there a Java function like: local.exec("<string">) that I > could use to point one of my mp3 players at a streaming > site? > > Thanks for any clues; sorry for the way off-topic subject, but > lots of web-wizards hang out here. > > gary > > PS: There are many non-web ways of doing this, I realize... . > > > > -- > Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix
Are you trying to do something funny that a proper MIME configuration would take care of? For example, when your httpd serves up the file tell it to give a MIME type of something like "audio/mpeg"...then configure your browser to launch xmms when it receives a file of type 'audio/mpeg'....to be on the safe side, you might want to configure the browser to also associate .mp3 and such with xmms. Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message