JSP 2.0 Examples - Dynamic Attributes
This JSP page invokes a custom tag that accepts a dynamic set
of attributes. The tag echoes the name and value of all attributes
passed to it.
Invocation 1 (six attributes)
- x = 1
- y = 2
- z = 3
- r = red
- g = green
- b = blue
Invocation 2 (zero attributes)
Invocation 3 (three attributes)
- dogName = Scruffy
- catName = Fluffy
- blowfishName = Puffy