Globals.LOCALE_KEY is a String constant with the value "org.apache.struts.Globals.LOCALE_KEY" so yes, the hashcode would be the same in either case. That's not it...
L. Yujun Liang wrote: > 1. > request.getSession().setAttribute(Globals.LOCALE_KEY, locale); > > I use org.apache.struts.Globals.LOCALE_KEY and it works, > > is the hashcode of org.apache.struts.action.LOCALE same as > I use org.apache.struts.Globals.LOCALE_KEY? > > 2. Do you have > button.add=加えなさい > > in your *_ja.properties? > > Regards > > On 11/18/05, Lixin Chu <[EMAIL PROTECTED]> wrote: > >>I set to ja in the session; >> >>I removed locale="true" from JSP but the result is the same. >> >>Browser encoding is set to UTF-8. >> >>When I 'view source' in the browser, I saw <html lang="zh"> if I set >>to Chinese. But I do not see this : >> >><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> >> >>is this ok ? >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > -- > Yujun Liang > [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]