Thursday, April 17, 2008

What are differences between and in Struts?

<bean:message>: This tag is used to output locale-specific text (from the properties files) from a MessageResources bundle. 
<bean:message key=”label.search.name”/>

 


<bean:write>: This tag is used to output property values from a bean. <bean:write> is a commonly used tag which enables the programmers to easily present the data.
<bean:write name=”student” property=”age”/>

No comments:

Post a Comment