...
Code Block | ||||
---|---|---|---|---|
| ||||
String userCaptchaResponse = request.getParameter("jcaptcha"); boolean captchaPassed = SimpleImageCaptchaServlet.validateResponse(request, userCaptchaResponse); if(captchaPassed){ // proceed to submit action }else{ // return error to user } |
And that's it!