You can pass data to the tag handler in the form of attributes which are processed by the tag handler and do whatever it wants. Ther's only a syntax difference between them. <jsp:attribute> It's just another way of setting attributes in a tag instead of directly putting them inside the tag (as with c & d options). Also <jsp:attribute> has the advantage of place itself in the body even the body content for that tag is declared to be empty.
Vijitha Kumara wrote:You can pass data to the tag handler in the form of attributes which are processed by the tag handler and do whatever it wants. Ther's only a syntax difference between them. <jsp:attribute> It's just another way of setting attributes in a tag instead of directly putting them inside the tag (as with c & d options). Also <jsp:attribute> has the advantage of place itself in the body even the body content for that tag is declared to be empty.