Sometimes JSP EL, Action Tags and JSTL tags are not enough and we might get tempted to write java code to perform some operations in JSP page. Fortunately JSP is extendable and we can create our own custom tags to perform certain operations.
We can create JSP Custom Tags with following components:
JSP Custom Tag Handler
Creating Tag Library Descriptor (TLD) File
Deployment Descriptor Configuration for TLD
We can add custom tag library in JSP page using taglib directive and then use it.