ResourceBundles - how to locate on Orion
From: Fred Flintstone (brianatamateo_at_hotmail.com)
Date: 09/03/04
- Next message: Paul Lutus: "Re: Is there a Secure FTP (SFTP) class?"
- Previous message: <- Chameleon ->: "Re: Serial Port problem"
- Next in thread: Sudsy: "Re: ResourceBundles - how to locate on Orion"
- Reply: Sudsy: "Re: ResourceBundles - how to locate on Orion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 3 Sep 2004 08:36:58 -0700
Yabba dabba doo,
In doo doo as my JSPs cannot locate the ResourceBundles. Its all
running on Orion 2.0.2
"myfile.properties" is located in WEB-INF/classes and I've also tried
setting an absolute path to it using the CLASSPATH.
In the JSP the file is accessed via the localisation class
<jsp:useBean id="rb" scope="page"
class="packagename.Internationalisation"/>
String testRB = rb.getString("testRB");
The error thrown is:
java.util.MissingResourceException: Can't find bundle for base name
workbench, locale en_EN
The properties file can't be found. Does anyone have any ideas? All
help appreciated.
Fred "The Rock" Flintstone
- Next message: Paul Lutus: "Re: Is there a Secure FTP (SFTP) class?"
- Previous message: <- Chameleon ->: "Re: Serial Port problem"
- Next in thread: Sudsy: "Re: ResourceBundles - how to locate on Orion"
- Reply: Sudsy: "Re: ResourceBundles - how to locate on Orion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]