posted 12 years ago
I running this program mentioned in HFSJ to check out the sequence of how the program is getting executed.
This is my ClassicIterator.java file
And my itty.jsp
My output is :
CLassic Tag as follows:
BEFORE the tag IN doStartTag() I am the body
IN doAfterBody() 0
I am the body of the page
IN doAfterBody() 1
I am the body of the page
IN doAfterBody() 2
I am the body of the page
IN doEndTag()
SpiderMan
Matrix
Flawless
AFTER the tag
My Question is why are the names of the movie getting displayed in a table right at the end (after it completes the iteration from doAfterBody() and body of the tag which has<tr><td> in it)
I thought name of the movie shoud be after "I am body of the page" .
(Even though that won't make sense as it is supposed to display in the table format)
Can some one help me with this ?
Thanks!
The future belongs to those who believe in the beauty of their dreams.Dream BIG!