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

Explain struts?

0 Answers  


What is the struts in java?

0 Answers  


How can we integrate log4j in Struts2 application?

0 Answers  


How the flow of various requests happens in struts application?

0 Answers  


How to use forward action to restrict a strut application to mvc?

0 Answers  






What are the loop holes of struts?

0 Answers  


what are the actions in struts?

10 Answers   Nihilent, Wipro,


What are the cons of struts 2?

0 Answers  


Why should we go for struts framework?

5 Answers   Accenture,


What is token used for?

0 Answers  


What configuration changes are required to use resource files in Struts?

0 Answers  


What is switchaction?

0 Answers  


Categories