Since JSP/JSF runs on server, you will be able to do the "matching" on
the server and show the result on the browser. But you will not be able
to capture the fingerprint with your program running on the server.
We suggest you to mix an applet with JSP, you can capture the image with
the applet , and do the "matching" with JSP.