Hi, Within a JSP, I have defined a String variable in an expression as follows...
<% String nameKey = "CompanyNamePT" + String.valueOf(productOptions.getProdType()); %>
I've proved that this evaluates correctly but when I try & use the variable within a custom tag as follows...
<contactus:brandedText key="<%= nameKey %>" />
instead of the the nameKey expression being evaluated, the custom tag is treating the expression as a literal string.
I have seen very similar syntax within the same application that I'm working on & this works fine. Can anyone suggest why this doesn't work in this case?
Thanks