Retrieves a list of attributes passed to the tag. To retrieve the value of one attribute, use the getAttribute method.
Returns an array of strings containing the names of the attributes passed to the tag.
public String[] getAttributeList()
attributeExists, getAttributeList
The following example retrieves the list of attributes, then iterates over the list, writing each attribute and its value back to the user:
String[] attribs = request.getAttributeList() ; int nNumAttribs = attribs.length ; for( int i = 0; i < nNumAttribs; i++ ) { String strName = attribs[i] ; String strValue = request.getAttribute( strName ) ; response.write( strName + "=" + strValue + "<BR>" ) ; }