Name

DynamicAttributes

Synopsis

The DynamicAttributes interface can be implemented by a tag handler in addition to one of the main tag handler interfaces to support attributes not declared in the TLD.

Synopsis

Interface name:

javax.servlet.jsp.tagext.DynamicAttributes

Extends:

None

Implemented by:

Custom action tag handler classes

Methods

public void setDynamicAttribute(String uri, String localName, Object value) throws JspException

Called by the container to pass the tag handler an undeclared attribute. The URI is the attribute’s XML namespace identifier or null if it’s in the default namespace.

Get JavaServer Pages, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.