Documentation for the REGEXP Tag Library

1. INTRODUCTION

The REGEXP custom tag library contains tags which can be used to perform Perl syntax regular expressions.

2. PREREQUISITE SOFTWARE

This custom tag library requires no software other than a servlet container that supports the JavaServer Pages Specification, version 1.1 and the Jakarta ORO regular expression jar file.

3. CONFIGURATION INFORMATION

Follow these steps to configure your web application with this tag library:

      Copy the tag library descriptor file (regexp/regexp.tld) to the /WEB-INF subdirectory of your web application.
      Copy the tag library JAR file (regexp/regexp.jar) to the /WEB-INF/lib subdirectory of your web application.
      Add a <taglib> element to your web application deployment descriptor in /WEB-INF/web.xml like this:

          <taglib>
              <taglib-uri>http://jakarta.apache.org/taglibs/regexp-1.0</taglib-uri>
              <taglib-location>/WEB-INF/regexp.tld</taglib-location>
          </taglib>

To use the tags from this library in your JSP pages, add the following directive at the top of each page:

    <%@ taglib uri="http://jakarta.apache.org/taglibs/regexp-1.0" prefix="rx" %>

where "rx" is the tag name prefix you wish to use for tags from this library. You can change this value to any prefix you like.

4. TAG DOCUMENTATION

This custom tag library includes a number of tags which are documented using javadocs.

5. USAGE EXAMPLES

See the example application (regexp/regexp-examples.war) for examples of the usage of the tags from this custom tag library.