using logic:equal tag

2006-03-10 Thread temp temp
I am using struts 1.1 I using logic equal tag to check whether a page context attribute value equals to some value . here is my code bean:define id=test value=0/ logic:equal name=test value=0 bean:define id=test1 value=2 / /logic:equal

Re: using logic:equal tag

2006-03-10 Thread Michael Jouravlev
On 3/10/06, temp temp [EMAIL PROTECTED] wrote: I am using struts 1.1 I using logic equal tag to check whether a page context attribute value equals to some value . here is my code bean:define id=test value=0/ logic:equal name=test value=0 bean:define id=test1

Re: using logic:equal tag

2006-03-10 Thread Michael Jouravlev
On 3/10/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 3/10/06, temp temp [EMAIL PROTECTED] wrote: I am using struts 1.1 I using logic equal tag to check whether a page context attribute value equals to some value . here is my code bean:define id=test value=0/

Re: using logic:equal tag

2006-03-10 Thread temp temp
Can somebody help me with this? Michael Jouravlev [EMAIL PROTECTED] wrote: On 3/10/06, Michael Jouravlev wrote: On 3/10/06, temp temp wrote: I am using struts 1.1 I using logic equal tag to check whether a page context attribute value equals to some value . here is my

Re: using logic:equal tag

2006-03-10 Thread Laurie Harper
To understand why this is a problem, look at the source of the Java servlet that's generated. Remember that the JSP is translated statically into Java, and then the resulting Java is compiled and run. Try this instead: bean:define id=test1 logic:equal name=test value=02/logic:equal

Re: using logic:equal tag

2006-03-10 Thread Tamas Szabo
On 3/11/06, temp temp [EMAIL PROTECTED] wrote: Can somebody help me with this? Well, if I have a problem I usually remove all the stuff that works so I can isolate the problem. That way you would have only the code you posted in the JSP (the error would not be at line 220) so you could post

How do I compare object properties using logic:equal tag?

2004-04-02 Thread Daynell Trent
I have an object that I put in the session. In my jsp, when I interate through a collection I want to test each object in the collection to see if it matches the session object. Can this be done with the logic:equal? If so, how do I specify which property to compare with.