The Tag Library Descriptor using XML.

Enterprise Java
Internationalize Your Web Site

Gary Bollinger and Bharathi Natarajan
Listing 1. The Tag Library Descriptor using XML.


<?xml version="1.0"
 encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems,
    Inc.//DTD JSP Tag Library 1.1//EN"
  "http://java.sun.com/j2ee/dtds/
   Web-jsptaglibrary_1_1.dtd">

<taglib>

<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>ignore</shortname>
<info>
  This is the Tag Library for
  a simple I18N Test.
</info>

<tag>
 <name>text</name>
 <tagclass>i18n.TextTag</tagclass>
 <bodycontent>TAGDEPENDENT</bodycontent>
 <info>
   Text i18n functions.
 </info>
</tag>

</taglib>

Featured

Upcoming Events

AppTrends

Sign up for our newsletter.

I agree to this site's Privacy Policy.