Dimitry: > And JSP.10.5.9: > "The scope value for a variable implies what methods may affect its > value and thus > where synchronization is needed: > - for NESTED, after doInitBody and doAfterBody for a tag handler > implementing > BodyTag, and after doStartTag otherwise. > - for AT_BEGIN, after doInitBody, doAfterBody, and doEndTag for a tag > handler implementing BodyTag, and doStartTag and doEndTag otherwise." > > There is nothing about synchronization *only* when doInitBody has > *invoked*.
Actually, the above has been too simplistic, because it does not consider the case where BodyTag.doStartTag() returns EVAL_BODY_INCLUDE and doInitBody() is not called, giving the container no opportunity to synchronize the variables before the body of the tag. I've talked to the JSP 2.0 spec lead, who is going to clarify the spec as you suggested. I've also applied your latest patch. Thanks! Jan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>