Customized Actions
The solution in JSP 1.1 is allow the creation of customized actions, or tag libraries.
A customized action can accept multiple arguments (as attributes) from the HTML document.
- We no longer have to shoehorn all functionality into the get and set methods associated with JavaBean properties.
Even more interesting, a customized action element can do non-trivial processing on the text in its body.
In particular, a customized action element can yield multiple copies of the text in its body.
- Iterative processing!
- It can also choose to ignore the body text: conditonal processing.