Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

a qustion on handler class

 
tony lee
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is anybody know which methods - doStartTag(), doEndTag(), doBodyTag(), are mandatory to a handler class? Why?
Thanks,
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I know nothing is mandatory.
There is a default behavior in the TagHandler class and the BodyTagSupport class.
You must note that this default implementation is not very helpful though. So, in a way you have to implement anything specific that you want.
regds.
- madhav
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!