Request the creation of new buffer, a BodyContent on which to evaluate the body of this tag. Returned from doStartTag when it implements BodyTag. This is an illegal return value for doStartTag when the class does not implement BodyTag.
Joined: Nov 28, 2006
Returning EVAL_BODY_BUFFERED won't print BodyContent to the output because this class only overrides the doStartTag() method and none of the rest....therefore the Question is perfectly alright [ December 28, 2006: Message edited by: Sayak Banerjee ]
Turn on, tune in, drop out.
Joined: Dec 27, 2006
Thanks for those who responded and helped clarify the issue. I now have a better understanding of buffered body content.
Joined: Oct 21, 2005
No Sayak.The class is extending BodyTagSupport and not BodyTag which will have the default implementation of setBodyContent(BodyContent b),so both should be fine right?