Do you know if you can embed the <tiles:getAsString /> inside the <bean:message>
to have the tiles attribute define the key for the bundle?
You can never embed any JSP tag inside another JSP tag.
You could use <bean:define> or <c:set> to create a page scoped variable using tiles:getAsString and then use it for the key to bean:message...
<c:set var="thekey"><tiles:getAsString name="titleKey" /></c:set> <bean:message key="${thekey}" />
This is assuming you're using the JSTL and struts-el, which is highly recommended if you are on a Servlet 2.3/JSP 1.2 container (including Tomcat 4 among others).
Otherwise, it would look more like <bean:define name="thekey"><tiles:getAsString name="titleKey" /></bean:define> <bean:message key="<%= thekey %>" />
Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining."
-- Jef Raskin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]