improves forms validation with Struts