O'Reilly logo

Struts 2 Design and Programming: A Tutorial by Budi Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Form Tags

Struts ships with a tag library that incorporates two types of tags: User Interface (UI) tags and non-UI tags. The UI tags are further categorized into two groups, those used for data entry and those for displaying error messages. The UI tags in the first group are called the form tags and are the subject of discussion of this chapter. The UI tags for displaying error messages are explained in Chapter 8, “Input Validation.” Non-UI tags help with control flow and data access and are covered in Chapter 6, “Generic Tags.” In addition, there are also tags that assist with AJAX programming and are discussed in Chapter 27, “AJAX.”

form is the main tag in the form tags category. This tag is rendered as an HTML form element. Other ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required