Most web frameworks I've seen handle form validation using exceptions; if the form fields or the whole form don't meet the requirements, an exception is thrown and dealt with (redirect back to the ...
Everyone who codes Java EE web applications needs to pay attention to exception handling. When a program encounters an error, developers can display friendly messages for end users, which increases ...