wood burning stoves 2.0*
The moose likes Struts and the fly likes bean: message tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "bean: message tag" Watch "bean: message tag" New topic
Author

bean: message tag

Weston Kornfeld
Greenhorn

Joined: Mar 01, 2005
Posts: 28
<bean:message bundle='<%=bundle%>' key='call_center'/>

Does anyone know how to extract the value out of <bean:message tag and put it into a variable in a scriplet? Or some other way of getting a value out of a properties file?

Many Thanks
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

It sounds like you are trying to put business logic in your view. You should probably move whatever it is you are trying to do to an Action and it should be much simpler from there. Actions can easily retrieve the properties file.


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: bean: message tag
 
Similar Threads
getting error with bean:message tag
html:link/bean message
message resource file
Cannot find message resources
Confirmation reg Properties file