Inputting a Social Security Number

How to get this to work in your own page

Insert the following snippets to get the JSF tag to work in your JSP page. Note more information about the tag can be found in the TLD documentation or in the API documentation.

This demo does not require you to enter an SSN, if you do not enter an SSN it will silently come back to this page. However if you do enter some values for the SSN it will validate the SSN.

    <%@taglib prefix="ssn" uri="http://www.manorrock.com/tld/jsf/ssn"%>

    <ssn:inputSSN value="#{ssnBean.ssn}"/>

    

Actual demo

Enter a SSN: