I'm new to Struts and have been using the archives for the last few 
weeks. However, now I need some feedback.

Is there a prettier or more appropriate way of constructing or 
concatenating a string using Struts in an effort to use the constructed 
string as some key? I could only get this ugly approach to work.

<nested:define id="type" property="typeName"/>
<% String key = "type.description." + type; %>
<div class="widgetLabel"><bean:message key='<%=key%>'/></div>

Thanks very much,

Andrew


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

Reply via email to