I'm working on a web service that requires the ability to read some properties from a file when the service starts. I've tried using Properties.load to read the file, but this only works when I hard-code the entire path to the file in the code for the web service, which seems unsatisfactory. I'd like to be able to load the properties file without assuming a specific directory structure -- probably this means using a path that is relative to the class file or jar file for the web service, or some similar approach.
Is there any way for a web service to find a file without relying on a hard-coded path? Steven Gollery [EMAIL PROTECTED]
