<fmt:message> tag problem in my JSP document
In my spring MVC application i have provided i18n option by providing a messageSource in the form of a properties file.
And i am using the keys provided in this properties file in my jsp pages using the jstl's custom tag library having URI : http://java.sun.com/jsp/jstl/fmt, i.e
with the following syntax :<fmt:message key="key1" />
Now i am using this in my welcome page as well as one of my forms.
The problem i am facing is in my welcome.jsp page i am not getting the key1's value instead i am getting the value as ???key1???.
While in my second form i am getting the key2's value without any problem.
Can anybody please let me know what is getting wrong??