Plain Java Servlet backend for visualCaptcha
-
Add dependency on visualCaptcha-java to your project.
-
Copy the directories assets/audios and assets/images into your web root.
-
Register and configure the servlet in your web.xml:
Captcha net.dotzour.visualCaptcha.CaptchaServlet image-asset-path images/visualCaptcha audio-asset-path audio Captcha /captcha/* -
Configure your front-end to communicate with the servlet path you choose.