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.
Struts和Rails采用了同样的方式来处理验证错误:重新渲染相应的页面,并将需要改正的表单输入域用错误信息标识出来。
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.
Struts和Rails采用了同样的方式来处理验证错误:重新渲染相应的页面,并将需要改正的表单输入域用错误信息标识出来。
应用推荐