This example is so basic that it’s not much different from a SimpleTag handler’s doTag() method. In fact the differences won’t become painful until you try to process a tag with a body (but you’ll just have to wait for that).
A JSP that invokes a Classic tag
The TLD <tag> element for the Classic tag
The Classic tag handler