Rishi Hope this will help u
<% // // Put a Locale object in the user's // session describing the Locale that // is specified by the browser's language preference (obtained via http header). // String lang = request.getHeader("Accept-Language"); boolean headerSuccess = false; if (lang != null) { if (lang.length() >= 2) { session.putValue(org.apache.struts.action.Action.LOCALE_KEY, new java.util.Locale(lang.substring(0, 2), "") ); headerSuccess = true; } } if (headerSuccess) { %><bean:message key="hello.message" /><% } else { out.println("Header 'Accept-Language' either not found or has no recognisable value."); } %> Jwas Rishi Khanna <[EMAIL PROTECTED]> 02/04/02 12:42 PM Please respond to "Struts Users Mailing List" To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject: Using <bean:message> with multiple resource bundles Can someone please give me an example of how to use <bean:message> tag for getting messages from multiple resource bundles. I know we could set the bundle attribute to point to a particular bundle but its not working. Please help. -Rishi -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>