• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on Custom Tag

 
Amol Umrani
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between TagSupport and SimpleTagSupport?
can any body tell me the details about this.
Thanks and Regards
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you understand that there are two (actually three) ways to make custom tags handlers, you'll understand the difference between both TagSupport and SimpleTagSupport.
1. Classical custom tags. That's the way tags were developped from the beginning. It's a bit tricky to use at first.
2. Simple custom tags. That's an easier (simple!) way to make tag handlers.
3. Tag Files. No java handler, just a jsp file.

You'll have to make tag handlers for your custom tags. TagSupport is used in number one, whereas SimpleTagSupport is used in number two.
[ August 11, 2006: Message edited by: Satou kurinosuke ]
 
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!