my doubt is since the child tags are empty(no body content) then why does the doStartTag() method of the MenuItem class return EVAL_BODY_INCLUDE. ?? it can return SKIP_BODY, right?
Correct! You are right, as there is no body, there is no need to evaluate it.
Regards,
Frits