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


Please Help Members By Posting Answers For Below Questions

how to connect from struts to database through hibernet and where u can modify the class

2118


Which technologies can be used at view layer in struts?

644


What types of validations are available in xml based validation in struts2?

550


How struts control data flow?

537


What does params interceptor?

533






What is struts 2 framework in java?

541


What are the struts2 error message keys that can come during file uploading process?

605


What is the use of namespace in action mapping in Struts2?

578


What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?

566


What is struts.devmode?

575


What is lookupdispatchaction?

552


What is strut action mapping?

513


Explain struts?

553


What is the default suffix for struts2 action uri ?

552


How the exceptions are handled in struts?

532