[Red5] properties file for Red5 application - How to?
jimothyinnewcy at hotmail.com
Wed Jul 23 07:21:32 PDT 2008
Have you tried something like this:
IScope scope = Red5.getConnectionLocal().getScope();
Resource propertyFile = scope.getResource("data.properties");
BufferedReader br = new BufferedReader(new FileReader(propertyFile.getFile()));
dunno if thats any help :-)
Date: Wed, 23 Jul 2008 22:18:01 +0800From: petedao at gmail.comTo: red5 at osflash.orgSubject: [Red5] properties file for Red5 application - How to?
I need to load a properties file within my Red5 application. I am using : properties.load(new FileInputStream("data.properties")) to load up the properties from a file.
I placed data.properties inside WEB-INF and WEB-INF/lib, but Red5 still can't pick it up and I get FileNotFoundException.
How do I get the properties file to work?
Thanks in advance for your help.
Invite your Facebook friends to chat on Messenger
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Red5