RE: what is the difference between bean:write and bean...
In Jakarta Struts - you may be knowing that - both are custom tags defined in HTML Tag library.
Both are used for accessing Java beans.
Bean:Message - is to access a java bean that will display a message such as " For more details on the product displayed in this web site please contact a phone number 12345.."
Bean: write - is to display a data from the model; example "Number of People visited this site is: 1234"
Bean does not directly write. the Tag is used to take help of these Beans for the above mentioned purposes
RE: what is the difference between bean:write and bean...
bean:message retrieves an internationalized message for the specified locale, using the specified message key, and write it to the output stream. Up to five parametric replacements (such as "{0}") may be specified.
The message key may be specified directly, using the key attribute, or indirectly, using the name and property attributes to obtain it from a bean.
Retrieve the value of the specified bean property, and render it to the current JspWriter as a String.