Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is the purpose of @stringlengthfieldvalidator annotation?

1152


Give an example where struts tiles may be used?

1056


How can we handle exceptions thrown by application in Struts2?

996


What is defeult result type?

1124


What is apache struts used for?

975


How to display validation errors on jsp page?

1057


How duplicate form submission can be controlled in struts?

1175


Which components are available using actioncontext map?

1215


What are interceptors in struts 2?

1071


How does struts work?

1026


Which tag is used to declare constants in struts xml?

1040


What are the contents on web.xml in struts application ?

1035


Explain about how requests from the client are sent?

1084


How is forward action used for integration?

1075


What is struts and why it is used?

1018