Hi!
I want to set a session scope attribute in my
jsp, but I will only know the name of the attribute to set at runtime (long story).
I first tried something like this...
<c:set var="prefix" value="${something}" />
<c:set var="attribName" value="${prefix}Attrib" />
<c:set var="${attribName} value="howdy" />
...but alas <c:set> does not accept expressions for the var attribute (which I knew but forgot).
So, before I go writing my own custom tag to do this, I'd like to know: Does something already exist in JSTL or the standard custom tag library <jsp:xxx> to do this? Or perhaps in
struts 1.x (which I am using in this project)?
Thanks muchly!
John