Wiki source code of Struts2 Tag Guide

Version 1.1 by Ken McWilliams on 2012/03/02 19:30

Show last authors
1 The first place to look for tag information should always be the //[[Tag Reference>>url:http://struts.apache.org/2.3.1.2/docs/tag-reference.html]]// at struts.apache.org.
2
3 There are five categories of Struts2 tags (which can be clearly seen in the above mentioned Tag Reference):
4
5 1. Data
6 1. Form
7 1. Control
8 1. Non-Form U
9 1. Ajax
10
11 **Data** tags are used to output data to a jsp, typical uses include displaying values collected by the action and displaying links to other actions.
12
13 **Form** tags can display data like Data tags as they can supply a default value, but are used to render html form elements. **Note**: Struts2 Form tags render using a //theme //so if you find it difficult to lay out the page as you would expect I would recommend //[[changing the theme to //simple//>>doc:Struts2 Themes]]//.