From: "Mick Knutson" <[EMAIL PROTECTED]>

Can you please explain  this a bit more?:

If you're using <c:out>, (JSTL 1.0 on a Servlet 2.3 container,) you should be using the Struts-EL tags instead of the original ones. Then you can use
an ${expression} for the 'key' attribute.

Start here:  http://struts.apache.org/faqs/struts-el.html

The Struts-EL taglib goes hand in hand with JSTL 1.0, and gives you the ability to use expressions in Struts tag attributes, the same way you can use them in JSTL tags.

I'm not quite sure what the answer to your original question is-- without trying it, I'd guess either key="${foo}bar" or maybe key="${foo + 'bar'}". When you find the right syntax, it should work in either <fmt:message> or <bean:write> (the EL version) if you decide to go with that.

--
Wendy Smoak



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to