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

When wil use singleton class in Struts

7 Answers  


When it’s useful to use IncludeAction?

0 Answers  


What are result types in struts?

0 Answers  


what is frame work in struts?

3 Answers   Infosys,


what is the current salary package in India for a java programmer who has 2 years experience

7 Answers  






What are pull and push mvc architecture and which architecture does struts2 follow?

0 Answers  


What is the difference between struts1 and struts2?

0 Answers  


where you store password in banking project

1 Answers  


How is forward action used for integration?

0 Answers  


what is request processor class ?

10 Answers   Fidelity,


What should be the name of xml file used for validation in struts?

0 Answers  


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

0 Answers  


Categories