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?