• Post Reply Bookmark Topic Watch Topic
  • New Topic

Benefits of Using Custom Tags  RSS feed

 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read from Prof JSP 2nd ed chapter 8: "Other Benefits of Tags" that a custom tag can perform actions that cannot be achieved using scriptlets. They gave an example where they said it's possible to validate and perform post processing of JSP output with it.
Can anyone give me a more concrete example of this feature? Thanks!
 
Joe Pardi
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a peek at the following URL to see what tags can do when they are written to collaborate with each other.
Be sure to view the JSP source...
http://www.dotjonline.com/taglib/form.jsp
Good luck ...
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Michael Laborte:
Can anyone give me a more concrete example of this feature? Thanks!

A good example of this came up yesterday in this thread.
Also, this thread contains some of the other reasons why tags are useful.
Cheers
Simon
[ July 23, 2002: Message edited by: Simon Brown ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!