Custom JSP taglib includes a set of conditional tags for checking Servlet API or JDK versions.
For example:
Tags are:
isServletAPI2_3
Body tag executes own body if your server supports Servlet API 2.3. Parameters are: none
isNotServletAPI2_3
Body tag executes own body if your server does not support Servlet API 2.3. Parameters are: none
isServletAPI2_4
Body tag executes own body if your server supports Servlet API 2.4. Parameters are: none
isNotServletAPI2_4
Body tag executes own body if your server does not support Servlet API 2.4. Parameters are: none
isJDK1_4
Body tag executes own body if your server does support JDK 1.4. Parameters are: none
isNotJDK1_4
Body tag executes own body if your server does not support JDK 1.4. Parameters are: none
for downloading:
Library: versiontag.jar Description: taglib.tld
See also Coldtags suite - the largest collection of custom JSP tags.