Hi, I have a question regarding resource bundles. Say you have a properties file "foo.properties", and another one "foo_de.properties", and only "foo.properties" contains the key-value pair "key1=hello". Both files are in the classpath.
Then this code ResourceBundle bundle = ResourceBundle.getBundle("foo", Locale.GERMAN); System.out.println(bundle.getString("key1")); will print "hello", because "foo.properties" is used as a fallback for "foo_de.properties". This fallback method does not seem to work with a Resin JSP: the bundle "foo.properties" is used, and a JSP specifies <fmt:setLocale value="de_DE"/> and accesses a key with: <fmt:message key="key1"/> Is this a bug or correct behavior? The JSTL specs say that the resource bundles would work in the same way as with the JDK. Specifying <context-param> <param-name>javax.servlet.jsp.jstl.fmt.fallbackLocale</param-name> <param-value>en</param-value> </context-param> in web.xml and then bundling "foo_en.properties" does not seem to help neither. We are using Resin-3.0.21 and JDK 1.5. Thank you, Markus -- ---------------------------------------------- Markus Ken Moriyama <[EMAIL PROTECTED]> Development Director Co-Founder Eastbeam Co., Ltd. Jingumae Happy Bldg 8F, 6-19-14 Jingumae, Shibuya-ku 150-0001 Tokyo, Japan Tel: +81 3 5766 0874 Fax: +81 3 3499 8217 http://www.eastbeam.co.jp/ _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest