The content of result.xhtml is insignificant. When I run this index.xhtml I get what I expected. When I fill the textboxes with the same values and click the button the checkPassword function is triggered but the browser stays on index.xhtml and I want it to forward to result.xhtml. What am I doing wrong? I'm interested not only in a walkaround but in a reason why it's not working. Can you help me?
Are you really storing a copy of the password right on the web page???
I've seen some really insecure apps, but that approach would win prizes. You could give LinkedIn and Twitter a run for their money.
Customer surveys are for companies who didn't pay proper attention to begin with.