wood burning stoves 2.0*
The moose likes Struts and the fly likes retrieve value from property file from a variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "retrieve value from property file from a variable" Watch "retrieve value from property file from a variable" New topic
Author

retrieve value from property file from a variable

Klament J. Kruoghst
Ranch Hand

Joined: Oct 24, 2008
Posts: 37
    
    1
Hi there,

I'm trying to get a resource string using the <bean:message> tag.
All examples online show:
and it works fine even for me.

My problem is I need the key to be a concatenated value from two beans.

for one bean alone is fine, I can use:

but for two beans that's not working for me.

I've tried :

and although i can see the real value i want in the source code it does not get evaluated, so i'm guessing that c:set gets evaluated AFTER the <bean:message>... what can i use to get this working?

I also tried:

No luck either.

Thanks,
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: retrieve value from property file from a variable