The user can select a language on web site. Selected locale is stored in the user session and used to read text from corresponded resource bundle. Currency is diplayed as follows
<jsp:useBean id="locale" scope="session" class="java.util.Locale" /> <fmt:setLocale value="<%= locale %>" /> <fmt:bundle basename="bundle"> <P><fmt:formatNumber value="<%= new Double(line.getTotal()) %>" type="currency" /></P> </fmt:bundle> I need to display content of a site in Russian, but product prices in Israeli Shequels, not in Russian Rubels (as the code above does). Could you post a code sample how to display currencies in other locale than the rest of content. Evgeny Javadesk __________________________________ Do you Yahoo!? Yahoo! Domains – Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]