ContactUs

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

What are differences between "bean:message" and "bean:write" tags


<bean:message>: is used to retrive keyed values from resource bundle. It also supports the ability to include parameters that can be substituted for defined placeholders in the retrieved string.
<bean:message key="prompt.customer.firstname"/>
<bean:write>: is used to retrieve and print the value of the bean property. <bean:write> has no body.
<bean:write name="customer" property="firstName"/>
Related Posts Plugin for WordPress, Blogger...
Flag Counter