Validation is a heck of a lot simpler with JSF than with
Struts. However, Sun's RI doesn't provide any client side validation. So everything goes to the server. Other vendor implementation may provide validators for client side validation.
You can validate simply using the faces taglib like:
You can also call a method in your backing bean to do the validation:
For the standard validators that's all there is to it. You don't have to maintain any other files (like struts validator XML file(s)).
[ December 15, 2004: Message edited by: Gregg Bolinger ]