O'Reilly logo

Struts Kick Start by Kevin Bedell, James Turner

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 14. Struts Logic Tags: Conditional Presentation Logic

IN THIS CHAPTER

Sometimes you need to control whether something is displayed on the JSP page. In traditional JSP, you must break out into a scriptlet to do this, wrapping HTML in an if (or perhaps a for loop to iterate).

The struts:logic taglib provides a tag-based alternative to scriptlets that can handle many common conditional cases. However, some of these tags can be a bit tricky to use. You might ...

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