Monday, April 9, 2012

Form Validation

Besides internationalization, the other top functionality needed by web applications is form validation (or user input validation).

Java does not provide any standard interface to do this, so it is mostly left to the application developer.

There are primarily two ways to do form validation - on the client side using javascript, or on the server side using java.

The first is faster, while the second is easier (it is usually easier to write code and debug in Java than in javascript).

In the coming posts we will see several front end frameworks like Tapestry, JSF and GWT, which provide facilities for input validation, amongst other things.

No comments: