File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes bean:message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "bean:message" Watch "bean:message" New topic
Author

bean:message

vamsi nani
Greenhorn

Joined: Jun 14, 2006
Posts: 12
can any one explain the tag bean:message ? what is its significance ?
Samuel Cox
Ranch Hand

Joined: Nov 16, 2004
Posts: 96

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.
 
Consider Paul's rocket mass heater.
 
subject: bean:message