actionform
-
It extends Struts 's ActionForm , making this structure hard to change later .
它扩展了Struts的ActionForm,使得这一结构此后难以改变。
-
To validate your request data , your ActionForm 's validate () method must give a case-specific implementation .
要验证请求数据,ActionForm的validate()方法必须给出一个特定于该情况的实现。
-
The yellow box includes your domain classes , yet the Struts framework encourages you to extend from ActionForm for its helpful behavior .
黄色的方框包含了您的域类,但是Struts框架鼓励您扩展ActionForm获得有用的行为。
-
Control is returned back to the JSP page , which gets all the necessary values from the ActionForm and paints the UI .
控制就被返回到JSP页面,从ActionForm获取所有必需的值并打印UI。
-
The Struts framework includes an extensive custom tag library that facilitates user interfaces that are fully internationalized and interact gracefully with ActionForm beans .
Struts框架包含有扩展的自定义标签库,这个库能帮助用户界面国际化更为全面并能非常适度地与ActionForm组件相互作用。
-
ActionForms are nothing but Java classes extending the Struts-provided ActionForm classes , which have accessor and mutator methods .
ActionForms只是一些Java类而已,它继承了Struts所提供的ActionForm类,这些类中包含有accessor和mutator方法。
-
It also contains Struts Action and ActionForm classes , a Model service class , a JSP page to display the results , and source code for both a publisher and a subscriber .
它还包含有StrutsAction和ActionForm类、模型服务类以及用来为发布者与订购者显示结果及其源代码的JSP页。
-
A JSP object combines with a respective ActionForm to form your application 's View layer , where almost every form field of the JSP object maps to an attribute of the corresponding ActionForm .
一个JSP对象与各自的ActionForm对象相结合,构成应用程序的View层。在该层,几乎JSP对象的每个表单字段都映射到相应的ActionForm的属性。
-
To mimic JSF 's default error handling and validation you would have to configure Struts to use the validator framework or implement the equivalent in the validate method on an ActionForm .
要模仿JSF默认错误处理和验证,还必须配置Struts使用验证器框架,或者在ActionForm上的validate方法中实现等价的操作。