Hello: I'm having some problems with comparisons using logic tags in Struts 1.1. There is more than 12 h that I'm trying to resolve it... and nothing.
I am passing 2 variables by session: niCount = 10 viewed = 3 or 21 (I'm trying with this 2 values) Then I'm doing this: <logic:lessEqual scope="session" name="niCount" value="viewed"> .... some code here ... </logic:lessEqual> <logic:lessThan scope="session" name="viewed" value="niCount"> .... some code here .... </logic:lessThan> as result the code inside both conditions is executed... and if you look at both conditions, the variables are inverted. I have try all possible combination with the other tags and the evaluation is never correct (when I use logic:greaterThan or logic:greaterEqual, the code in it's body is never excecuted). I don't know what can I do. Thanks in advance, Yariel.