sfunds
Apr 27th, 2006, 12:03 PM
Hi,
First Let me say sorry since even though i searched the forum I couldnt understand how do it or it didnt work for me
I have a login page
with user id and password
I check in validator for user id !="" and password = !""
then onSubmit(request,response,commands,errors)
I check with database to see whether it is a valid user if yes he goes to success page fine.
else he should be in same login page with errors displayed as user id and password not matching.
I saw that I have to use showForm
but I got binding errors
what is the right way to call
showform and display errors using taglibs
2) Second requirement s come from my boss.
There is temp_password and if it is set the user should be redirected to new Form to change his password else to sucesssform
How can it be done. what will be the servletXML settings for the same
Thanks
First Let me say sorry since even though i searched the forum I couldnt understand how do it or it didnt work for me
I have a login page
with user id and password
I check in validator for user id !="" and password = !""
then onSubmit(request,response,commands,errors)
I check with database to see whether it is a valid user if yes he goes to success page fine.
else he should be in same login page with errors displayed as user id and password not matching.
I saw that I have to use showForm
but I got binding errors
what is the right way to call
showform and display errors using taglibs
2) Second requirement s come from my boss.
There is temp_password and if it is set the user should be redirected to new Form to change his password else to sucesssform
How can it be done. what will be the servletXML settings for the same
Thanks