• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Question on Custom Tag

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic