Questions tagged [simplecaptcha]

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

simplecaptcha
Filter by
Sorted by
Tagged with
68 votes
6 answers
80k views

Recommendations for java captcha libraries [closed]

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 ...
7 votes
6 answers
25k views

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: <form action="submit_proceed.do" ...
jl.'s user avatar
  • 2,219
6 votes
2 answers
12k views

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 ...
jl.'s user avatar
  • 2,219
6 votes
0 answers
2k views

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 ...
iamdeit's user avatar
  • 5,695
5 votes
4 answers
1k views

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 ...
SujitS's user avatar
  • 11.3k
4 votes
3 answers
23k views

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, ...
Anna Plym's user avatar
4 votes
5 answers
3k views

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(); ...
Sam's user avatar
  • 53
4 votes
3 answers
635 views

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 ...
Voldemar Duletskiy's user avatar
2 votes
2 answers
6k views

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. ...
user592704's user avatar
  • 3,674
2 votes
1 answer
2k views

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 ...
dimas's user avatar
  • 387
2 votes
1 answer
2k views

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 ...
curious1's user avatar
  • 14.4k
2 votes
1 answer
7k views

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)...
Ruchira Mayekar's user avatar
2 votes
1 answer
2k views

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 ...
amit's user avatar
  • 89
2 votes
0 answers
463 views

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 ...
James's user avatar
  • 211
2 votes
1 answer
1k views

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 ...
JankiPanwala's user avatar
1 vote
2 answers
804 views

grails 2.4.2 simple captcha plugin installation error

I am using grails 2.4.2 and trying to install simple captcha plugin but when i run the app, i get unable to resolve class org.codehause.groovy.grails.commons.ConfigurationHolder error I understand ...
Shashank's user avatar
  • 494
1 vote
1 answer
1k views

Convert base64 to image and display on browser only [duplicate]

I know that this question has already been asked but there's not a single solution for my case. I am generating a Captcha using JavaScript of three letters and I am able to convert them to base64 ...
Megha Verma's user avatar
1 vote
2 answers
5k views

Displaying SimpleCaptcha in Struts 2 Form

I am trying to implement SimpleCaptcha with Struts 2, so far the image is displaying. However, it is displaying at the top of the <s:form>. register.jsp: <%@ taglib prefix="c" uri=&...
k_rollo's user avatar
  • 5,420
1 vote
2 answers
6k views

How to resolve StandardWrapperValve error on Catalina?

I am creating a signup application with validation and Captcha (using SimpleCaptcha). I am able to deploy my application on localhost and everything works perfectly inclusive of the captcha. But when ...
jl.'s user avatar
  • 2,219
1 vote
0 answers
722 views

Removing curved line from captcha

I am trying to read a captcha generated by SimpleCaptcha: I've managed to remove the gradient and color: import cv2 as cv import numpy as np import PyDIP as dip import pytesseract img = cv.imread('...
Braulio Soncco's user avatar
1 vote
0 answers
81 views

How to save simpleCaptcha wav file in java

I need to save the file to play Simplecaptcha voice file on IOS and succeeded in saving the file in a folder I want. But I tried to play the wav file in the folder(double click), It wasn't replayed. ...
Sophia LEE's user avatar
1 vote
0 answers
1k views

SimpleCaptcha: how to make upper-case letters always larger than lower-case letters?

I use Java-based SimpleCaptcha for my web application. I notice that the the case of letters generated by SimpleCaptcha are hard to recognize in some cases. See the following two examples: In the ...
curious1's user avatar
  • 14.4k
1 vote
0 answers
237 views

simplecaptcha-1.2.1.jar (Timeout issue)

We are using simplecaptcha-1.2.1.jar in our project. Captcha values expires very quickly but i cannot see specific time duration configured anywhere. what is the maximum time limit for simple captcha ...
user2404539's user avatar
1 vote
1 answer
2k views

right way of using rails 4 devise and simple captcha

In my rails app i use devise gem, and simple captcha from here https://github.com/pludoni/simple-captcha and i want to add this captcha only for sign up action, and i do it, but i'm new to rails and ...
byCoder's user avatar
  • 9,084
1 vote
1 answer
897 views

Django Simple Captcha - Error in {{ form.as_p }} - 'DatabaseWrapper' object has no attribute 'Database'

I'm using Django 1.6 with mongoengine. I just started to try the simple captcha but I have the following error. As it is said in http://django-simple-captcha.readthedocs.org/en/latest/usage.html I ...
user3584455's user avatar
1 vote
1 answer
2k views

Heroku Internal server Error logs ImportError: No module named captcha

Heroku Internal Server Error with django-simple-captcha I installed django simple captcha using > pip install django-simple-captcha and made all the necessary changes in settings.py to get captcha ...
user2649102's user avatar
1 vote
0 answers
926 views

Java SimpleCaptcha: how to make the space between characters a bit larger

I am using a Java's Captcha solution called SimpleCaptcha for a web application. I would like to make space between characters a bit larger. How can I do this?
curious1's user avatar
  • 14.4k
1 vote
2 answers
401 views

GoogleAppEngine Java Captcha without external providers

Is there any library for captcha generation which does not contain blacklisted classes ? I would like to avoid to use recaptcha. I tried JCaptcha and SimpleCaptcha but both use AWT for image ...
Jordi P.S.'s user avatar
  • 3,948
0 votes
2 answers
3k views

Refresh SimpleCaptcha

I'm using SimpleCaptcha My web.xml looks like the one here: <servlet> <servlet-name>StickyCaptcha</servlet-name> <servlet-class>nl.captcha.servlet....
Philipp Sander's user avatar
0 votes
1 answer
1k views

what is the image path and image url in this generate captcha function?

I'm trying to find img_path and img_url as given in below controller function. That is generateing captcha code. Does anybody know what is the img_path and img_url given in below controller function? ...
Angel's user avatar
  • 612
0 votes
1 answer
3k views

Rails 4 simple_captcha not working

I feel like I missed some small detail, but I can understand this. I'm trying to connect simple_captcha (https://github.com/galetahub/simple-captcha) for their project on Rails 4: Gemfile: gem '...
user2808099's user avatar
0 votes
4 answers
6k views

simplecaptcha image only served after reload

I'm using SimpleCaptcha to secure our contact form. It works well, but only after reloading the page. The Servlet is nl.captcha.servlet.StickyCaptchaServlet, so it should not change the image after ...
Dominik Schreiber's user avatar
0 votes
1 answer
2k views

Customizing SimpleCaptcha

We're using SimpleCaptcha http://simplecaptcha.sourceforge.net/ to creating a captcha in our registration form (running on Tomcat) We create the captcha using: Captcha captcha = new Captcha....
Krt_Malta's user avatar
  • 9,295
0 votes
0 answers
39 views

Monitor requests going from JBoss installed in EC2 instance

I have two EC2 instances both have JBoss installed there are same application installed on JBoss server. In the application it use com.captcha.botdetect.web.servlet.SimpleCaptchaServlet to get captcha....
Sandaru Akalanka's user avatar
0 votes
0 answers
326 views

Captcha wouldn't show up in my html file in Django

I was trying to implement Captcha for my contact form. I followed the instructions, Installed Django-simple-captcha. Pillow was already installed. Made migrations, added the path to urls.py and ...
Arjun G's user avatar
  • 53
0 votes
0 answers
78 views

Grails failing to run simplecaptcha [duplicate]

I am new to Java and have been struggling to get simplecaptcha to work with Grails so I can check out the examples given. I have rolled back my grails version to 2.0.0 already since otherwise Grails ...
DidgeriDude's user avatar
0 votes
1 answer
2k views

java.lang.ClassNotFoundException: nl.captcha.servlet.StickyCaptchaServlet

I'm trying to add SimpleCaptcha library to my project by following the instruction. I placed SimpleCaptcha jar file under my /WEB-INF/lib directory: My web.xml: <web-app xmlns="http://java.sun....
Artem's user avatar
  • 2,420
0 votes
1 answer
3k views

Simple captcha audio settings in java

I have a form in which I have implemented Simple captcha every thing is working fine but I want audio captcha to be played when users click on play button. In my case audio gets played default on ...
pise's user avatar
  • 849
0 votes
1 answer
1k views

Image captcha in codeigniter and change to next captcha if the captcha is not understand by the user.How can be created it?

How to change current captcha image if user don't understand ? How to create, validate and save the captcha in database in codeigniter ?
Angel's user avatar
  • 612
0 votes
1 answer
930 views

Null pointer exception while displaying captcha

package org.entity; import java.io.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.util.Map; import java.util.regex.Matcher; import java....
user avatar
0 votes
1 answer
277 views

Can not send Captcha image through nusoap webservice

I'm creating a Captcha session by createCaptcha function that i wrote. and in the webservice I call this function to create a Captcha session and image then I want to send Captcha image Or display ...
anonymox's user avatar
  • 419
0 votes
0 answers
964 views

Captcha image not loading

I am trying to implement a Captcha image in my php form. The problem is that when I load my php form in the browser the captcha image is not being loaded and the default broken image for the tag is ...
Corporal's user avatar
  • 157
0 votes
1 answer
375 views

How to use simple-captcha with devise in rails 4

how to integrate simple-captcha2 with devise ? I have browsed other questions but not satisfied.
SouravMoitra's user avatar
0 votes
0 answers
303 views

simple captcha error TypeError can't convert nil into Integer

i am using rails 3.0.2 and ruby 2.0.0 with simple captcha gem. Gemfile - gem 'simple_captcha', :git => 'git://github.com/galetahub/simple-captcha.git' View - Verification code:<%= ...
Gaurav Sharma's user avatar
0 votes
1 answer
87 views

I want to install a new gem to my engineyard development environment for http://rubygems.org/gems/wolcanus-simple_captcha

I want to install a new gem i.e http://rubygems.org/gems/wolcanus-simple_captcha to my engineyard development environment. Is there a simple process how, I can install the same. I use Mongodb and ...
Sangram Keshari Mohanty's user avatar
0 votes
1 answer
377 views

can't validate simple-captcha rails gem

I am running the simple-captcha gem in Rails to generate a captcha on user registration. Registration is handled by the Devise gem. I followed the instructions listed by the author here: http://...
winston's user avatar
  • 3,050
0 votes
0 answers
553 views

Captcha Text not Align Center

Captcha text generated by nl.captcha.servlet.CaptchaServlet doesn't allign center.Changing css of tag doesn't work also.Is there any parameter like "align-text"? <servlet> <servlet-...
cyo's user avatar
  • 193
0 votes
1 answer
734 views

SimpleCaptcha NoSuchMethodError

When I use SimpleCaptcha, I receive this error: Exception in thread "main" java.lang.NoSuchMethodError: disposeLater at java.awt.Component.initIDs(Native Method) at java.awt.Component.<...
sarowlwp's user avatar
  • 105
-1 votes
1 answer
59 views

save_with_captcha is nil in controller

I have home controller and trying to update the field of a table of different controller. Home controller class HomeController < ApplicationController before_action :user_params, only: [:...
user3290805's user avatar
-2 votes
2 answers
2k views

Solve Captcha Using Selenium Python

This is the website(https://appext20.dos.ny.gov/corp_public/CORPSEARCH.ENTITY_SEARCH_ENTRY). I just want to solve the captcha that appear in that website? Anybody have any idea. Thanks in Advance
Haris Jameel's user avatar