Let’s examine how DynamicAttributes
looks in action. First, our tag handler class must implement the DynamicAttributes
interface from the JSP API. And that interface requires you to implement the setDynamicAttribute()
method. This method needs to store the attribute name/value pairs; a hashmap is the perfect data structure to hold this information: