This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
In which of the following cases will the method doAfterBody() of a tag handler be invoked? A. This method will be called only when doStartTag() returns Tag.EVAL_BODY_INCLUDE or BodyTag.EVAL_BODY_BUFFERED B. This method will be called if doAfterBody returns IterationTag.EVAL_BODY_AGAIN
This answer is B. I think A is correct too if the 'only' word is removed. Right ?
Thanks Shiang
SCBCD, SCWCD, SCJP
Arut Jothi
Greenhorn
Joined: Nov 11, 2004
Posts: 2
posted
0
When doStartTag() returns BodyTag.EVAL_BODY_BUFFERD, setBodyContent() would be called and then doInitBody() would be called then finally doAfterBodyTag would be called.
So only answer B is correct.
Please refer HF book also for more info.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.