O'Reilly logo

Struts 2 in Action by Scott Stanlick, Chad Michael Davis, Don Brown

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 7. UI component tags

This chapter covers

  • Generating HTML with UI component tags
  • Building forms and beyond
  • Snazzing it up with templates and themes
  • Surveying the components

In the previous chapter, we introduced the Struts 2 tag API. As we saw, this high-level API provides a common set of tag functionality that you can access from any of three view-layer technologies: JSPs, Velocity, and FreeMarker templates. Learn the tag API once, and you’ll start using it everywhere. We saw tags that helped us pull data from the ValueStack, iterate over collections of data, and even control the flow of page rendering with conditional logic of various sorts. Now it’s time to start building a user interface with a special set of tags known as the UI ...

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