Actions that Process their Bodies
More sophisticated custom actions may need to do some non-trivial, tag-dependent processing on the text in their bodies.
- Rather than leaving the body to default JSP processing.
Tag handling classes for such actions should implement the more complex javax.servlet.jsp.tagext.BodyTag interface.
- Or extend the associated javax.servlet.jsp.tagext.BodyTagSupport class.
Actions handled by these classes can also process their bodies repeatedly, thus generating iterative output.