I'm using struts as a framework for a web-app. The following code runs inside a loop where I access the database to retrieve values to be used as nodes for a tree.
<s:set name="categoryValue" value= "%{'<%=rs.getString("category")%>'}">
</s:set>
<sx:treenode id="child1" label ="%{#categoryValue}"/>
The error I get is
"/jsp/tree.jsp(249,65) equal symbol expected"
However if i give
<s:set name="categoryValue" value= "%{'Test'}">
the value Test is obtained.
Can anyone tell me how to set the value of the 'label' with strings?