what is difference between <bean:write>
and <bean: message> tag

Answers were Sorted based on User's Feedback



what is difference between <bean:write> and <bean: message> tag..

Answer / 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

what is difference between <bean:write> and <bean: message> tag..

Answer / ani

good answer

Is This Answer Correct ?    12 Yes 3 No

Post New Answer

More Struts Interview Questions

Give the details of xml files used in validator framework?

0 Answers  


I will explain the scenario now i have a form1 having some fields and i made it extends DynaActionForm. in struts config how can i specify another form form2 which has to extend the form1 please specify is it better to use actionform or dyna action form in applations. is dyna action form is comfortable in declaring form variables of type 'ArrayList<somegenerics>' extend the

0 Answers   Techno Solutions,


Explain the complete struts validator framework.

0 Answers  


What is the life cycle of actionform?

0 Answers  


can we change the order of parameters in execute()?

4 Answers   Polaris, Serco,






What is Custom Type Converter in Struts2?

0 Answers  


what is mean by custom tag?

5 Answers   Wipro,


What is the difference between struts and spring?

0 Answers  


What is difference between actionform and dynaactionform?

0 Answers  


What is package name in struts xml?

0 Answers  


How action-mapping tag is used for request forwarding in struts configuration file?

0 Answers  


How an actionform bean is created?

0 Answers  


Categories