The attributes of action mapping shown in Figure 12 are as follows.
图12中所显示的操作映射的属性如下。
Select New => Action Mapping Node to add a new action mapping node.
选择New =>Action MappingNode以添加一个新的操作映射节点。
An action mapping is a configuration file entry that associates an action name with an action, a form bean, and a local forward.
操作映射是一个配置文件条目,它将操作名称和操作、表单bean及本地转发关联在一起。
In addition, if you implement a validate method and set the validate flag in the corresponding action mapping entry in the Struts configuration file, the ActionServlet will invoke the validate method.
此外,如果您实现了一个验证方法并在Struts配置文件中相应的操作映射条目上设置了验证标志,ActionServlet将会调用那个验证方法。
In the "New Action mapping - Define data mappings" dialog, enter or alter the following values.
在“NewAction mapping-Definedatamappings”对话框中,输入或修改下列值。
Running a very simplistic sample application, you can see the JAXBHandler in action, mapping data from a pureXML column into an Employee bean. The application code and the output are in Figure 10.
通过运行一个非常简单的示例应用程序,可以看到JAXBHandler把purexml列中的数据映射为Employeebean的效果。
Running a very simplistic sample application, you can see the JAXBHandler in action, mapping data from a pureXML column into an Employee bean. The application code and the output are in Figure 10.
通过运行一个非常简单的示例应用程序,可以看到JAXBHandler把purexml列中的数据映射为Employeebean的效果。
应用推荐