On Tue, 20 Mar 2001, Jason Novotny wrote: > > Hi Jim, > > > I've had my fair share of fun trying to use getResourceBundle to load a > properties file and made basically the same discoveries you have. The > properties file say bar.properties gets loaded as > ResourceBundle.getBundle("org.foo.bar") and must be in > WEB-INF/classes/org/foo/bar.properties. This is so Tomcat can find the > properties file in the web applications classpath- otherwise it doesn't know > where it is- > It is also standard behavior of Java with respect to class paths, and is not specific to Tomcat. Resource bundles have to follow the same directory structure rules as a class named org.foo.bar would. > Jason > Craig McClanahan
- Class loader behavior with resource bundles... James Lehmer
- Re: Class loader behavior with resource bundles..... Jason Novotny
- RE: Class loader behavior with resource bundl... Craig R. McClanahan
- RE: Class loader behavior with resource b... James Lehmer
- Sharing Servlet between Web Applications Wyn Easton
- Re: Sharing Servlet between Web Applicati... Bo Xu
- Re: Sharing Servlet between Web Applicati... Craig R. McClanahan
- RE: Class loader behavior with resource bundl... James Lehmer
- How to re-use a request scope bean? Todd Chaffee
- Re: How to re-use a request scope bea... Joe Emenaker
- Re: How to re-use a request scop... Todd Chaffee
- RE: Class loader behavior with resource bundles..... William Kaufman
- RE: Class loader behavior with resource bundl... James Lehmer