A form bean is an instance of an ActionForm subclass that stores data.
表单bean是存储数据的ActionFor m子类的实例。
It extends Struts's ActionForm, making this structure hard to change later.
它扩展了Struts的ActionForm,使得这一结构此后难以改变。
In the "new ActionForm class - Create new accessors..." dialog, select Add....
在“new ActionFormclass-Createnew accessors…”对话框中,选择add…。
You access the form data in the JSP object using accessory methods found in ActionForm.
可以通过ActionFor m内的附加方法来访问JSP对象内的表单数据。
The ActionForm called "BP1AForm" includes the attribute attrib1, as well as its getter and setter methods.
这个 ActionForm被称为 “BP1AForm”,它包括属性attrib1 及其getter和setter 方法。
Control is returned back to the JSP page, which gets all the necessary values from the ActionForm and paints the UI.
控制就被返回到jsp页面,从ActionForm获取所有必需的值并打印ui。
First, Struts recommends that you associate every JSP object with an ActionForm, which encapsulates data represented in the screen.
首先,Struts建议将每个JSP对象与一个ActionForm 相关联,后者可以封装屏幕上显示的数据。
In every ActionForm, extend BP3Form and implement the abstract methods in which the form data is transported to and from the session.
在每个ActionFor m类中,扩展BP3Form并实现这些抽象方法(表单数据通过它们传递到会话或从会话传回)。
Each action extracts an ActionForm variable called command that indicates what action the user has invoked on the search application.
每个Action提取一个ActionForm变量调用命令,该命令表示用户在搜索应用程序上调用了哪些操作。
The yellow box includes your domain classes, yet the Struts framework encourages you to extend from ActionForm for its helpful behavior.
黄色的方框包含了您的域类,但是Struts框架鼓励您扩展ActionForm 获得有用的行为。
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和ActionFor m类、模型服务类以及用来为发布者与订购者显示结果及其源代码的JS p页。
As written, so long as no exception is generated by the code and the ActionForm successfully validates, Struts assumes things worked just fine, and so will the test case.
正如所写的那样,只要代码没有生成异常,ActionForm成功验证,Struts就假定事情工作良好,测试用例也是一样。
The Struts framework includes an extensive custom tag library that facilitates user interfaces that are fully internationalized and interact gracefully with ActionForm beans.
Struts框架包含有扩展的自定义标签库,这个库能帮助用户界面国际化更为全面并能非常适度地与ActionFor m组件相互作用。
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方法中实现等价的操作。
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的属性。
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的属性。
应用推荐