Why doesn't the following work:
<c:set var="formId" value="#${otherFormId}"/>
where
<c:set var="formId" value="# ${otherFormId}"/>
notice the space ^
works fine (though is invalid for my purposes). Im trying to prepend ${otherFormId} with a # symbol (i.e. creating jquery id selector).
The first form ends up with
#${otherFormId}
literally in the output. How can I get the outcome I am after?