Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Performance of Tag Handler

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I want to know what is the differences of performance between using Custom Taglib/JSTL and not using one in our JSP?
thanks
daniel
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Custom Taglibs are just a convenient way to make use of helper classes, and get code out of your JSP file as much as possible. Take a look at the generated Java source code to see what those taglibs end up creating - it is really pretty compact.
I doubt you could measure the difference and your JSP will be much more maintainable without all that code. IMHO getting the algorithm right has the greatest impact on performance.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!