Hi, Geeta. If EVAL_BODY_BUFFERED is return, the body of the tag is present in the BodyContent object, the container will not able to evaluate the body(that is present in the BodyContent object). The body will be evaluated only if the method has BodyContent object and if it sees the encapsulated body of it. If we override doAfterBody() with the following code, then we have the body.
If the BodyTagSupport returns EVAL_BODY_INCLUDE, no BodyContent object will be created, and the body will be evaluated.