In my index.jsp, there are 3 fields - username text, password text & 'remember me' checkbox. When the user has entered username & password and selected 'remember me' checkbox, I need to authenticate the username/password combination & put the username in browser's cookie.
I am able to authenticate as well as set up the cookie, but my problem is on the displaying part. Here is the code -
Interestingly, both <logic:notPresent> & <logic : present> works when the cookie is set; and both <logic:notPresent> & <logic resent> fail when cookie is removed from the browser. One would think that one of them should work when cookie is available (or removed).
It would be great if anyone can point out where my mistake is!
Thanks in Adv... [ June 20, 2007: Message edited by: Bhaskar Reddy ]