• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Classsic Vs Simple?

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can anyone differentiate classic custom tags and simple custom tags?
 
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
They use different interfaces, so it's bit long to explain.
Simple tags are easier to make
The best would be to try to make the same tag from scratch with both version.

Simple tag handlers also include "Tag Files" which are 100% jsp tags.

Sorry for not answering your question.
You can still refer the following part of the JSP specification:
JSP.7.1.3 Classic Tag Handlers
JSP.7.1.5 Simple Tag Handlers
 
Boobalan Jegathesan
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know the funtionality and I executed the same.Some experts might have specific reasons why do we have 2 kinds of custom tags in jsp.thats hwy i asked.....
 
Christophe Verré
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

Some experts might have specific reasons why do we have 2 kinds of custom tags in jsp


That's because Classic Tags were a pain in the neck to make. Simple tags' interfaces are much more easier to deal with. And as I said in the previous post, you can even make simple tags as jsp, not as java classes.

Sorry about the confusion.
 
reply
    Bookmark Topic Watch Topic
  • New Topic