Classic tags have a different lifecycle

Simple tags are simple—it’s all about doTag(). But with classic tags, there’s a doStartTag() and a doEndTag(). And that brings up an interesting problem—when and how is the body evaluated? There’s no doBody() method, but there is a doAfterBody() method that’s called after the body is evaluated and before the doEndTag() runs.

image with no caption
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset