I\'m trying to validate two password fields with JSF but no good until now, I search for it on google but everything was about JSF 1.2 and pretty confusing, I\'m using JSF
You can use Primefaces p:password tag. Please see demo example. It has match attribute which should be the id of confirm password.