i have created simple login page.
i am expecting error message if login fail. but the problem is when put invalid username or password and click on submit button the values get vanished and also not getting the "login fail" message.
when i put the only "login fail" logic on submit button click event then it is working, but when i put the logik which check the username and password from database then same problem occurs.
yeah without seeing the code and the exception we cant predict any solution. One thing I understand from your question is that values may not be binded to the backing bean. To get more information please post the code, so one can resolve your problem.