I have two variables set like this:
<s:set var="A" value="true" />
<s:set var="B" value="false" />
I want to generate the HTML below with a custom attribute info
like this :
<td info="truefalse"> </td>
I tried the following lines in my JSP file but I can't get true
next to false
:
<td info="<s:property value="#A?'true':'false'+#B?'true':'false'""/> </td>
outputs: <td info="true"> </td>
<td info="<s:property value="#A" /><s:property value="#B" />"> </td>
outputs: <td info="false"> </td>