"Hari", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp. We require names to have at least two words: your first name, a space, then your last name. Fictitious names are not allowed. Please edit your profile and select a new name which meets the requirements. Thanks. Dave
Eric is right though, pick either server side or client side. You can't have it both ways. Actually, you can, but then you end up with your application spread half way across the internet. If the database is required for validation, submit back to the server, validate on the server, send the response. Dave.