Hi,
For displaying alert messages in javascript function calls I need to read the text from ApplicationResources.properties file.
I have tried the following combinations but nothing seems to be working. The text message is not being read from the properties file. Can someone give me the correct syntax.
1. alert(<bean:message key="message.invalidName"/>

;
2. alert('<bean:message key="message.invalidName"/>');
3. alert(<bean:message key='message.invalidName'/>");
4. alert(<bean:message key=message.invalidName'/>

;
In ApplicationResources
message.invalidName=The given name is invalid
Thanks in Advance