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 @stringlengthfieldvalidator annotation?
Give an example where struts tiles may be used?
How can we handle exceptions thrown by application in Struts2?
What is defeult result type?
What is apache struts used for?
How to display validation errors on jsp page?
How duplicate form submission can be controlled in struts?
Which components are available using actioncontext map?
What are interceptors in struts 2?
How does struts work?
Which tag is used to declare constants in struts xml?
What are the contents on web.xml in struts application ?
Explain about how requests from the client are sent?
How is forward action used for integration?
What is struts and why it is used?