Custom Tag Library use to make own tag in jsp by extending TagSupport class, build xml with (.tld) extension file, which specify the result would you want to use.
Java Server Page (JSP) contain standard tag library @taglib for including (.tld) file.
Java Server Page (JSP) contain standard tag library @taglib for including (.tld) file.
public class CustomTagTest extends TagSupport {
public CustomTagTest() { }
@Override
public int doStartTag() throws JspException {
JspWriter out = pageContext.getOut();//returns the instance of JspWriter
try{