nurbahiyah
asked on
insert condition into JSP page.
hello experts.
i have a change password page as below:-
-------------------------- ---------- ---------- ----
current password: --pass--
new password: --newPwd--
retype new password: --newPwd2--
-------------------------- ---------- ---------- -----
after a user logs into the system, he/she is able to change password.
i've created a recordset, so that it will display the user's current password (--pass--) in the 'current password' field.
i've also did a 'server behavior-update record' thing so that the current password in the dB will be replaced by the 'retype new password' element.
now i need to put a condition in the page, so that the password will only be replaced if ('newPwd'=='newPwd2').
please help. thanks in advance
i have a change password page as below:-
--------------------------
current password: --pass--
new password: --newPwd--
retype new password: --newPwd2--
--------------------------
after a user logs into the system, he/she is able to change password.
i've created a recordset, so that it will display the user's current password (--pass--) in the 'current password' field.
i've also did a 'server behavior-update record' thing so that the current password in the dB will be replaced by the 'retype new password' element.
now i need to put a condition in the page, so that the password will only be replaced if ('newPwd'=='newPwd2').
please help. thanks in advance
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER