Skip to Main Content
Struts 2 in Action
book

Struts 2 in Action

by J. Scott Stanlick, Chad Michael Davis, Donald J. Brown
May 2008
Intermediate to advanced content levelIntermediate to advanced
424 pages
15h 59m
English
Manning Publications
Content preview from Struts 2 in Action

Chapter 6. Building a view: tags

This chapter covers

  • Working with data tags
  • Controlling flow with control tags
  • Surveying the miscellaneous tags
  • Exploring the OGNL expression language

In this chapter, we’ll start looking at the Struts 2 tag library in detail. We’ll provide a good reference to the tags and clear examples of their usage. We’ll also finish exploring the Object-Graph Navigation Language (OGNL). We’ve already seen how OGNL is used to bind form fields to Java properties, such as those exposed on our action, to guide the framework’s automatic data transfer mechanism. In chapter 5 we learned about the type conversion aspects of OGNL in the context of data entering the framework.

Now, we’ll focus on the OGNL expression language (EL ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

iBATIS in Action

iBATIS in Action

Brandon R. Goodin, Clinton Begin, Larry Meadors
PrimeFaces Cookbook

PrimeFaces Cookbook

Mert Caliskan, Oleg Varaksin

Publisher Resources

ISBN: 9781933988078Publisher SupportOtherPublisher WebsitePurchase Link