Seems everybody agrees pusBody happens after doStartTag(). However, for doEndTag,popBody , I see different opinions. Anybody there can help me? Thanks! P.Chen
I agreed with Simon that the popBody is called before doEndTag. JSP.10.1.2.4 Methods public int doAfterBody() . . . If doAfterBody returns EVAL_BODY_AGAIN, a new evaluation of the body will happen (followed by another invocation of doAfterBody). If doAfterBody returns SKIP_BODY no more body evaluations will occur, the value of out will be restored using the popBody method in pageContext, and then doEndTag will be invoked. . . .