Forums Register Login
TagSupport -- IterationTag
The JWebPlus mock exam made this statement to explain one of its answers.
TagSupport implements IterationTag. Therefore, doAfterBody() will be called if the handler extends TagSupport.

However, it looks like the default return value for the doStartTag() in TagSupport is SKIP_BODY. If doStartTag() returns SKIP_BODY, will the body then not be evaluated and the next method called would be doEndTag()???
It doesn't seem like JUST because we extend TagSupport that doAfterBody() is guaranteed to be called.
Any Ideas ???
It's not. You are precisely correct. I think I hit that one on the actual exam.
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
Why should you try IntelliJ IDEA ?

This thread has been viewed 510 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 14, 2018 03:22:13.