• Post Reply Bookmark Topic Watch Topic
  • New Topic

bean:message  RSS feed

 
vamsi nani
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any one explain the tag bean:message ? what is its significance ?
 
Samuel Cox
Ranch Hand
Posts: 96
Scala Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of its typical uses is for replacing labels via different resource files based on user locale. For instance, instead of having a jsp like:



You would have:



If you do it this way and you want to change Name to Nombre, it is done in one place and propagates throughout your jsp pages.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!