Hi, Amarkirt. If our tag handler class implements DynamicAttributes interface, then we can add attributes dynmically. There is no need to put <attribute>...</attribute> in the tld file, and we don't need to write attribute methods (like setAddMethod().. in our tag handler class).
<jsp:attribute> will not constitute the body of the tag. It must be placed inside the tag. We can't use it alone. With <jsp:attribute> we can set the attribute to the tag.