Questions tagged [simplecaptcha]

SimpleCaptcha is a Java library for generating CAPTCHA images and audio for the challenge/answer pairs.

SimpleCaptcha is a Java library for generating CAPTCHA images and audio for the challenge/answer pairs. SimpleCaptcha is intended to be easy to implement and use sensible defaults, while providing easily-accessible hooks for customization. Example implementations are provided in Java EE and Grails.

The project home page: http://simplecaptcha.sourceforge.net/

49 questions
68
votes
6 answers

Recommendations for java captcha libraries

I'm looking for a replacement for JCaptcha, which doesn't seem to be maintained any more, and isn't very good to begin with. The replacement has to integrate nicely with JavaEE webapps. As I can see it, there are three options: JCaptcha - No longer…
skaffman
  • 398,947
  • 96
  • 818
  • 769
7
votes
6 answers

Captcha servlet causes java.lang.IllegalStateException: PWC3999: Cannot create a session after the response has been committed

I am creating a CAPTCHA input using SimpleCaptcha, and did validation of the Captcha input. I am created a captcha input with the following codes. HTML Code:
jl.
  • 2,209
  • 12
  • 49
  • 61
6
votes
0 answers

Is there a way to use Google Recaptcha in a Phonegap app?

I can't find an answer to that question, secure token is an option but how can I use it with javascript only? In my recaptcha app configuration I have localhost as domain, what should I put there when I want to display it in a Phonegap app?
iamdeit
  • 5,485
  • 4
  • 26
  • 40
6
votes
2 answers

Where to put Java Simple Captcha Builder?

I am a newbie at java/java servlet. I need the simpleCaptcha for a form, using html and javaservlet for the code. With reference to http://simplecaptcha.sourceforge.net/extending.html. Captcha captcha = new Captcha.Builder(200, 50) .addText() …
jl.
  • 2,209
  • 12
  • 49
  • 61
5
votes
4 answers

SimpleCaptcha image not loading (Can't mass-assign protected attributes)

The problem is that the simple_captcha is not working properly. The captcha image is not showing. Please help. controller.rb if simple_captcha_valid? do something else do something else end view.html.rb
<%=…
SujitS
  • 11,063
  • 3
  • 19
  • 41
4
votes
3 answers

Using selenium to solve captcha

My Code below is keep solving a different Captcha ! Please correct my mistake as i don't know what's causing that! from selenium import webdriver from python3_anticaptcha import ImageToTextTask, CallbackClient import time import requests browser =…
Anna Plym
  • 83
  • 1
  • 1
  • 10
4
votes
3 answers

Rails simple captcha attributes

When I used in my rails 3 project gem "simple-captcha" (https://github.com/galetahub/simple-captcha) I had error in view by calling function <%= show_simple_captcha %>: Can't mass-assign protected attributes: key
Voldemar Duletskiy
  • 981
  • 1
  • 11
  • 30
4
votes
5 answers

PHP GD image not displaying in Chrome

We have used Captcha.php on one of our project, it opens in all browsers but we are not able to view in Google chrome Version 22. Our Captcha script session_start(); $captcha = new SimpleCaptcha(); $captcha->CreateImage(); class SimpleCaptcha { …
Sam
  • 53
  • 1
  • 2
  • 9
2
votes
1 answer

Captcha in GWT Widget

I'm looking for a Captcha (SimpleCaptcha or JCaptcha) widget for GWT. I've found examples online, but they all use servlets to generate and validate the Captcha. Are there any client-only Captcha implementations?
dimas
  • 387
  • 3
  • 9
2
votes
1 answer

Java image captcha solution like this one?

I tried different Java-related captcha solutions such as JCaptcha, SimpleCaptcha, etc. I am not satisfied. I could miss something. What I really like is something very similar to this one in terms of generated characters and look and feel. Does…
curious1
  • 14,155
  • 37
  • 130
  • 231
2
votes
1 answer

Implementing Captcha in GWT-Ext 2.0.3

Hello All, I am using GWT-Ext 2.0.3. I have implemented SimpleCaptcha in my project.I am not able to refresh the captcha image when I reload the panel.I am using simplecaptcha-1.2.1.jar file to implemet captcha. I have created a servlet to display…
JankiPanwala
  • 584
  • 1
  • 4
  • 20
2
votes
2 answers

Simple Captcha and make different colors

I've just watched the link as http://simplecaptcha.sourceforge.net/ and it gives demo of some images showing that captcha can be designed as a colored one so it can be not only black and white one. But for some reason I couldn't find any tutorials…
user592704
  • 3,674
  • 11
  • 70
  • 107
2
votes
0 answers

How to reload google captcha to unchecked using reload frame after form submit

I want to reload google captcha after form submit, I've searched a lot, there are many methods like Recaptcha.reload(); or grecaptcha.reset(); or data-callback and there are some other ways to disable submit button after form submit. Google…
James
  • 201
  • 1
  • 3
  • 9
2
votes
1 answer

NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment

I am trying to use simplecaptcha-1.2.1.jar. It is throwing below exception. rt.jar has sun.awt.X11GraphicsEnvironment class. simplecaptcha-1.2.1.jar is working fine on Windows platform(Server Weblogic). java.lang.NoClassDefFoundError: Could not…
2
votes
1 answer

how to refresh simple captcha

I have simplecaptcha 1.2.1 jar file in my libraries in eclipse IDE and its working fine. there was no option to refresh the captcha so i hav added the following code but its not working. function refreshCaptcha() { var xmlhttp; if…
amit
  • 89
  • 1
  • 13
1
2 3 4