• 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
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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.
 
Today's lesson is that you can't wear a jetpack AND a cape. I should have read this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic