Re: logic:equal versus Scriptlet...

2005-09-15 Thread Kishore Senji
logic:equal/ looks for an attribute with the given name and compares for equality with the given value. bean:define/ not only creates a scripting variable but also puts an attribute with the same name. Here you only modify the value of the scripting variable and not the attribute value, which

Re: logic:equal versus Scriptlet...

2005-09-15 Thread Leon Rosenberg
I'm making a guess, since I'm too lazy to check the actual jsp source code, but i would assume, that bean:define defines the variable to the scope page and ties it to the page for scripting. When you perform your: isEmpty = false; you change the value of the scripting variable, but not the one