what is difference between <bean:write>
and <bean: message> tag
Answer Posted / jane priscilla
Both are used to access the Java beans,but the mode of
application is different.ie.,
bean:message---> is a key to access the message property of
the particular field.(this can be done through
ApplicationResources.properties and no matter what the
model layer does)
for ex:Please give atleast one contact number!
bean:write---> is a key to display a data from the model
layer ie.,any data from the db can be displayed through
bean:write.
Is This Answer Correct ? | 56 Yes | 1 No |
Post New Answer View All Answers
Are actions thread safe?
Explain the difference between dispatchaction and lookupdispatchaction in struts?
What is the purpose of @key annotation annotation?
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
What is the purpose of @requiredstringvalidator?
Can you explain the directory structure for a struts folder in brief ?
What is the purpose of @key?
What should be the name of xml file used for validation in struts?
What are the benefits of the struts system?
Explain about struts?
What is the difference between shocks and struts?
What are different ways to create Action classes in Struts2?
Why do we need mapdispatchtoprops?
What do you mean by tiles in struts?
Provide some important Struts2 constants that you have used?