>> 2. Config file - What's the best place to put config file and use it >> in code at runtime. > > Please put it into src/main/config and put this directory on the > classpath when starting the server. > You should then be able to do:
Hmm! Let me try. Will it work from the TestCase? Just checked MINA code, the config files have been kept in resources folder. See Chat example. Either ways, let me code and can find the exact place later. -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal