Casting string to INT?
843836Feb 25 2005 — edited Feb 26 2005Second IF statement trying to check if password is at least 6 characters and no more than 8 and casting string to int for check?
String msg = "";
int num = 6;
if(!pwd1.equals(pwd2)){
msg = msg + "<p>Passwords did not match: unable to set password.";
}
if(pwd == num){
msg = msg + "<p>Passwords did not match: unable to set password.";
}
if(userID.equals(userID)){
msg = msg + "<p>User ID already taken. Please choose a different User ID.";
}