I have the following code to set a userId variable:
(userId set in prior code)
<c:set var="userId" value="(Cust#${userId})" />
Which produces the following string: (Cust#${userId})
The following code works as expected, however:
<c:set var="userId" value="(Cust# ${userId})" />
displays the following string (Cust# 0001) .
Why does the '#' character before a '${string}' expression prevent the string from being evaluated? Is there a work around I could use that doesnt involve having to insert a space?