How can I make to use dinamic values with equal tag, for example:
<bean
efine id="string" value="<%=1%>" />
<logic:equal name="string" value="1">
The
string contained the
word Struts </logic:equal>
in this case, don't print "The string contained the word Struts" at my scren, but if I change the <bean
efine id="string" value="<%=1%>" /> for
<bean
efine id="string" value="1" /> it's work ok (print the message), What I need to do for make this work fine, I need the dinamic values for compare, maybe I don't need the <bean
efine id="string" value="<%=1%>" />,
just compare the logic:equal value with other number, but I don't know what attribute should use for it, parameter="<%=dinamicValue%>" or ???
Cheers
Daniel S.