Hi
There is something called
<html:javascript method="validateForm" dynamicJavascript="true"/>
which will render u client side javascript validation also depnding on the rules in validation.xml ......
i hope u wont have a doubt still how will that render javascript code