When pages are being rendered Generic Tags control the execution flow. Struts 2 Generic tags are also used for data extraction.
Struts 2 Tags are of two types: Generic Tags and UI tags. These tags are provided with the Struts 2 framework. Generic Tags simply output some content directly from the tag while the UI tags uses templates and often group the output together with theme.
Generic Tags are further classified into Control Tags and Data Tags while Struts UI Tags are classified into Form Tags and Non - Form tags.
Data Tags is Struts 2 are used by developers to make GUI for their struts 2 based applications. They help in data manipulation or creation.
Recommend the tutorial