In which of the following cases will the method doAfterBody() of a tag handler be invoked? A. This method will be called only when doStartTag() returns Tag.EVAL_BODY_INCLUDE or BodyTag.EVAL_BODY_BUFFERED B. This method will be called if doAfterBody returns IterationTag.EVAL_BODY_AGAIN
This answer is B. I think A is correct too if the 'only' word is removed. Right ?
SCBCD, SCWCD, SCJP
posted 12 years ago
When doStartTag() returns BodyTag.EVAL_BODY_BUFFERD, setBodyContent() would be called and then doInitBody() would be called then finally doAfterBodyTag would be called.