A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
bean: message tag
Joined: Mar 01, 2005
Sep 09, 2005 12:22:00
<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?
Joined: Feb 05, 2003
Sep 12, 2005 10:11:00
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:
subject: bean: message tag
Confirmation reg Properties file
Cannot find message resources
message resource file
getting error with bean:message tag
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014