Currently the doco (Configuration Factory Howto) suggests that you
should load resource from the classpath.  IMHO i think this is a great
idea, although I had some trouble implementing it.

It recommends to use:
URL configURL = getClass().getResource("/config.xml");

I could not get this to work until I changed it to:
URL configURL = getClass().getClassLoader().getResource("/config.xml");

I do know if this is correct or not, but I thought I would like you
know about it and so you could change the HowTo if necessary.

Thanks,
Corey

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to