Yes, you should not use
return (name=="abc" passwd=="123 ");
but
return (name.equals("abc") passwd.equals("123"));
This will probably fix your problem.
Johan
- Original Message -
From: "Roland Dong" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Sunday, April 01,
You should use name.equals("123") instead of use name=="abc"
Please make sure that you understand the difference beetween
name.equals("123") and name=="abc"
-Original Message-
From: Roland Dong [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 01, 2001 4:43 PM
To: Orion-Interest
Subject:
Thanks for pointing that out
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Meo Van Le
Sent: Sunday, April 01, 2001 1:50 AM
To: Orion-Interest
Subject: RE: Please help me figure out this
You should use name.equals("123") instead o