Announcement Announcement Module
Collapse
No announcement yet.
i18n problems Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • i18n problems

    Hi,
    I use Spring 3; my application has no problems to render messages from resource boundle when locale change. However, jsp renders kind of "?? ???" when it renders data from model attribute. For example, in controller I use the following for test:
    model.put("test", "Это мой тест");
    and jsp has the following fragment:
    Test: ${test};
    As a result, browser shows:
    Test: ??? ??? ????
    Again, there are no problems with displaying messages from resource bundle , for example, this fragment works perfectly if I change locale:
    <spring:message code="greeting" arguments="${userData.userName}"/>
    Does anybody know why it happens?
Working...
X