它提供了标准化的方式用于执行各种任务,如表单验证、计算和条件输出。
It provides a standardized way to perform tasks like form validation, calculations, and conditional output.
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.
表单值的服务器端验证使用类似的方式执行到任何其他web应用程序。
Server-side validation of the form values is performed in a similar fashion to any other Web application.
应用推荐