Map Http Request Data to Flow Context directly

This feature of Struts Extension maps the data in the Http Request to the screen flow context directly without creating a new FormBean. If user specify the configuration in web.xml to the mode of FormBean mapping, BTT Struts Extension will map Http Request data first to FormBean, then from FormBean into Flow Context. When user define the direct mapping setting in web.xml file to ignore FormBean, BTT Struts Extension would retrieve the data from HTT Request directly, and then set it into Flow Context.

The following is a direct mapping mode sample in web.xml file:

<init-param>
    <param-name>directmapping</param-name> 
    <param-value>true</param-value>
</init-param>

Note that the default value of flag directmapping is true when nothing is defined.

The field name defined in jsp file should be the same as context field id. Then the Http Request data will be mapped automatically into corresponding context field.