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
Can you explain aware interfaces in struts2?
What do you mean by actionmapping?
How can duplicate form submission be handled in struts 2?
What is an interceptor stack?
What is the purpose of @results annotation?
How we can install struts?
What are the advantages of spring mvc over struts mvc?
Give an example of validates method used to avoid errors.
Briefly tell the two kinds of form beans.
Give an example where struts tiles may be used?
What are pull and push mvc architecture and which architecture does struts2 follow?
Is struts efficient?
What is the use of forwardaction?
Will the struts tags support other markup languages such as wml ?
Name the different types of actions found in struts.