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 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: 35
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,
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: retrieve value from property file from a variable
 
Similar Threads
how to pass a string and variable as value on a tag?
Stale Value
anybody know how to get property in a Form?
Problem mapping to form bean
bean:message in bean:define tag