How do I create a tag using SimpleTagSupport?
Author: Deron Eriksson
Description: This Java tutorial describes how to create a custom tag using SimpleTagSupport.
Tutorial created using: Windows XP || JDK 1.5.0_09 || Eclipse Web Tools Platform 2.0 (Eclipse 3.3.0) || Tomcat 5.5.20
(Continued from page 1)
If we hit out JSPW in a browser, we see the following results.
In this short tutorial, we've seen that extending the SimpleTagSupport class and implementing doTag() is a very straightforward way to create a tag handler.
This tutorial used the following images: