> If I call the following:
> System.out.println("resource is: "
> + this.getClass().getClassLoader()
> .getResource("errorMessages_en_US.properties"));
> It prints out the correct path of the jar file that it is contained in
Did you try:
ResourceBundle.getBundle("errorMessages",
Locale.getDefault(),
this.getClass().getClassLoader());
and it fails? Since you get the desired URL from your manual test, what do
you get from:
InputStream stream = (InputStream)
this.getClass().getClassLoader().getResourceAsStream("errorMessages_en_US.pr
operties");
If that works, you can finish the job that ResourceBundle.loadBundle does.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]