Create the components (JSPs, action and form bean).
创建组件(JSP、动作和表单bean)。
This allows avoidance of complex coding in the action class (as shown in the Struts 1 example) for converting the form bean in to the related domain model object.
这避免了在操作类中进行复杂编码(如struts1示例所示),将表单bean转换为相关域模型对象。
Also addes a form bean definition and an action mapping definition to the configuration file.
并向配置文件中添加一个Form bean的定义和一个操作映射的定义。
An action mapping is a configuration file entry that associates an action name with an action, a form bean, and a local forward.
操作映射是一个配置文件条目,它将操作名称和操作、表单bean及本地转发关联在一起。
You will need to interact with the Struts framework to get and set information in the bean form, specify the next action, and so on.
将需要与Struts框架进行交互,以获取和设置Bean表单中的信息,并指定下一个操作,等等。
You will need to interact with the Struts framework to get and set information in the bean form, specify the next action, and so on.
将需要与Struts框架进行交互,以获取和设置Bean表单中的信息,并指定下一个操作,等等。
应用推荐