Custom JSP tag. Evaluates and processes own body if the specified set of parameter provides a correct description for Visa, Mastercard, AmEx credit card. It is not an authorization through some merchant, tag just checks some set of standard rules for credit card settings. For example:
<!-- It is not a real Visa credit card :) --> <%@ taglib uri="taglib.tld" prefix="if" %> <if:correctNumber number="67899876453212345" type="0" expireMonth="07" expireYear="02"> <% // Ok, let we do something ... %> </if:correctNumber> Tags are: correctNumber Evaluates own body in case of the specified set of parameters could be treated as a correct credit card description. Parameters are: 1) number credit card number.
for downloading: Library: cardtag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|