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

Using the Struts Logic Tags to Test for Absence or Presence of Values

This section provides information about the following tag:

  • <logic:empty>— Evaluates its contents if the variable is null or an empty string

  • <logic:messagesPresent>— Evaluates its contents if the message specified is available as an error or message

  • <logic:messagesNotPresent>— Evaluates its contents if the message specified isn’t available as an error or message

  • <logic:notEmpty>— Evaluates its contents if the variable isn’t null or an empty string

  • <logic:notPresent>— Checks for the presence of the specified role, user, cookie, header, or bean and evaluates its contents if not found

  • <logic:present>— Checks for the presence of the specified role, user, cookie, header, or bean and ...

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