Version taglib ver. 1.2

    Custom JSP taglib includes a set of conditional tags for checking Servlet API or JDK versions. For example:
 


<%@ taglib uri="taglib.tld" prefix="v" %>

<v:isServletAPI2_3>
  Your server supports Servlet API 2.3
</v:isServletAPI2_3>

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

© Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.