In my team when i joined the struts-config had already been written , I am able to understand each and every element what it has been used for , However , the attribute in <message-resources> element which states null="false". I dont know why this attrib has been written and what it does..
Can someone shred some light on this please ?
Thanks in Advance Yogendra Joshi.
Meri Zindagi Hain Tab Tak.. Jab Tak Tera Sahara.... Har Taraf Tu Hi Tu Hain SAI Tera Hi Hain Nazara.....
It's very well commented and will tell you about each element and attribute. Here's what it says about the null attribute in <message-resources>:
Set to "true" if you want our message resources to return a null string for unknown message keys, or "false" to return a message with the bad key value.
This means that null="true" causes a <bean:message> tag with a bad key to show nothing on the page. A null="false" entry causes a bad key to show as ??bad.key??. [ September 29, 2006: Message edited by: Merrill Higginson ]