it prints getParent() from Child 3 times 1.first the outer most tag starts executing and prints getParent() from Child and when it reaches return statement 2.it enters the body of the outer tag thus reaches second level and once again the above step repeats and finally inner most 3rd level and when it reaches return statement there is no body so it terminates this is fine.
but i have the following code:
and below code in Jsp:
1.in this case first when the control reaches the outer tag it executes the doTag() and prints "hi this is from the CUSTOM testag" but when it reaches getJspBody.invoke(null) it should execute second level tag and then once again it should print "hi this is from the CUSTOM testag" but it is not the case. i get Null pointer exception because for the second tag body is not there so getJspBody().invoke(null) throws excption so if i comment this line we do not have facility to get the out like we got in Classis Tags how to solve this issue.
Thanks [ September 09, 2008: Message edited by: raja ram ]