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


Page: < 1 2

(Continued from page 1)

If we hit out JSPW in a browser, we see the following results.

index.jsp in web browser

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:

tools.gif

tools.gif

world.gif

world.gif
Page: < 1 2