This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes question on custom tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "question on custom tags" Watch "question on custom tags" New topic
Author

question on custom tags

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
Question ID :999107463300
Which of the following methods may be called on a custom tag handler that implements IterationTag interface?
1.doBodyTag
2.doEvalBody
3.doStartTag
4.doInitBody
5.doAfterBody
The correct ans given are 3,5.
My question is IterationTag has one method called doAfterBody, then why doStartTag is also called?
thanks,
Trupti
deepa nari
Greenhorn

Joined: Nov 05, 2002
Posts: 20
Hey trupti do u work in intel
trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
any answers??
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
The IterationTag interface extends the Tag interface, so the doStartTag() method is also a part of an iteration tag's liecycle.
Simon
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question on custom tags