Because the error is caught immediately, the user does not have to regain his bearings and find the information that needs to be corrected on both the application screen and the printed form.
由于错误被立即捕获,用户不必重新回头在应用程序屏幕和打印表单上寻找要更正的信息。
2
Both the Struts version and the Rails version handle a validation error in the same way: Render the page again, with error messages marking the form fields that need to be corrected.