Thursday, July 29, 2010 05:59 PM
I am trying to validate the user inputs in the form. I have three box: two text filed namely Name and email, and a file type input box. None of these can be empty. So I need to do interactive validation.
I am using struts framework so I am using struts tag
. But problem with this is I am unable to do jQuery or AJAX validation on client side.
On the other hand if I use
tag. My struts forms can't collect the form value. So I am wondering what will be the best approach to solve this issue.
Any help will be appreciated.