On Mon, 18 Oct 2004 11:38:12 +0200, Ian van der Neut <[EMAIL PROTECTED]> wrote:

>                 ResourceBundle bundle = ResourceBundle.getBundle("application");

Change this to:

  ResourceBundle bundle =
ResourceBundle.getBundle("java.resources.application");

since you're required to specify the fully qualified class name here.

However, using "java" at the top level package name is going to cause
you a different difficulty -- many servlet containers will prohibit
loading classes or resources under that package name, because it could
be an attempt to replace a standard Java class and subvert the
behavior of the JVM.  You'd be better off putting your resource files
in the same Java package that your application classes are in, or in a
"resources" subpackage under that package.

Craig

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

Reply via email to