Hello Amol,
When you are using attributes in your custom tag then there are two possible ways by which you can use attributes.
a) In your TLD file you mention :
<attribute>
<name>num</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
b) And for attributes which you want to mention dynamically(for example the names of attributes you are not sure)then go ahead and make this declaration:
<dynamic-attributes>true</dynamic-attributes>
Then you have to implement the DynamicAttributes interface in you tag handler class.And also implement the method setDynamicAttribute(
String uri,String localName,Object value)
There is a very good article for dynamic-attributes in SCWCD faq or
JSP faq not sure.check it out for more clarity.
Best Regards,
Pallavi