Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
Bean:message and c:out
Tony Smith
Ranch Hand
Posts: 77
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have a bean ${row}
An element of this bean is tranCodeT.
${row.tranCodeT} returns a key that's in my resource property file for i18n-age.
<bean:message...> seems to want a constant key, not something like ${row.tranCodeT}
<c
ut...> seems to know nothing about the properties file.
How can I use
struts
to display the value from the property file?
Merrill Higginson
Ranch Hand
Posts: 4864
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This link
explains how to use JSTL with messaging. Basically, you'll want to use <fmt:message> rather than <bean:message> since the <fmt:message> tag accepts an EL value.
Merrill
Consultant,
Sima Solutions
I would challenge you to a battle of wits, but I see you are unarmed - shakespear. Unarmed tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
bean:message in bean:define tag
Problems with first Struts Application - please help...
Multiple resource message config problem
Problems with firsttruts Application
Struts tags not working: html tag & bean tag
More...