Just came to know that validwhen validator in struts 1.2 doesnt have a client side javascript component , can any one suggest or refer me to the javascript code somewhere out there that can be used to do clientside validation using the same validwhen validator ,I am trying to do both server side and client side validations for the equality of passwords,the server side validation using validwhen is taken care of in struts in 1.2 but not the client side validation , I am thinking if anyone has the javascript that that I can add to the validator-rules.xml file to have the validwhen validator do the clientside validation for equality fo fields.

Thanks in advance.