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
What is the purpose of @doublerangefieldvalidator?
What’s the difference between struts and turbine?
Can we have multiple struts config files ?
How do you create message resource?
What is a custom tag?
What is actioninvocation in struts2?
What are the ways in which duplicate form submission can occur?
What is the purpose of struts.properties in struct2?
What is declarative exception handling in struts?
How do struts work?
What do you mean by the abstract package in struts2, and what is its utilization?
What are the core components of a struct2 based application?
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
What is the need of struts?
How you will enable front-end validation based on the xml in validation.xml?