Make sure that you registered a LocaleChangeInterceptor
bean to intercept the user's Locale:
<mvc:interceptors>
<bean class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor"
p:paramName="locale" />
</mvc:interceptors>
Then try to use <spring:message code="addEmployee.UserName" text="username" />
instead of tag.
Otherwise, the <spring:message>
closely resemebles to <fmt:message>
except that the later does not use the Spring locale resolver and you have to change the resolver to
`<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>`
which will set a LocalizationContext for JSTL tags.
BR.