A tag can have a body only if the <body-content> element for this tag is not configured with a value of empty. The <body-content> element can be one of either three or four values, depending on the type of tag.
<body-content>empty</body-content>
<body-content>scriptless</body-content>
The tag must NOT have scripting elements (scriptlets, scripting expressions, and declarations), but it CAN have template text and EL and custom and standard actions.
<body-content>tagdependent</body-content>
The tag body is treated as plain text, so the EL is NOT evaluated and tags/actions are not triggered.
<body-content>JSP</body-content>
THREE ways to invoke a tag that can’t have a body
Each of these are acceptable ways to invoke a tag configured in the TLD with <body-content>empty</body-content>.