In this article you will learn how to create a Custom Tag In JSP.
A Custom Tag is a user-defined JSP language element. When a JSP page containing a Custom Tag is translated into a servlet, the tag is converted to operations on an object called a tag handler. The web container then invokes those operations when the JSP page's servlet is executed.JSP tag extensions let you create new tags that you can insert directly into a JavaServer Page just as you would the built-in tags. Custom Tags are distributed in a tag library, that defines a set of related Custom Tags and contains the objects that implement the tags. The object that implements a Custom Tag is called a tag handler. Let's do a demo: Create a "<today>" tag using the following: