JSP allows me to create custom tag which are associated with a class which shud extend either a TagSupport or BodyTagSupport class (part of the servlet/JSP API). the JSP engine calls the doStartTag method on the ur associated tag handler class.
the custom tag also allows custom attributes which shud be defined in .tld (tag library descriptor) file.
this feature of defining ur tags in .tld file is actually a bottleneck. it doesnt allow me to define dynamic custom attributes as and when i require in my JSP pages/templates.
is there a way to define dynamic custom attributes which can be accessed in my tag handler class. to get this attribute , the JSP shud provide getAttributesList() method which shud return a HashMap of atribute names and value.
is it possible to achieve what i want in JSP currently.
urgent help needed.