aspose file tools*
The moose likes JSP and the fly likes captcha image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "captcha image" Watch "captcha image" New topic
Author

captcha image

shyamkumar bopannachengalaiah
Ranch Hand

Joined: Dec 30, 2008
Posts: 100
i had developed a registeration application where i used captcha image for secuity code image . i stuck up with validation for the strings in that image to my text box i had enter.can anyone tell me how to do validation using javascript in that?
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
You want to validate a captcha with a client side language? That captcha would be fairly worthless then.

Just submit form to server side the usual way and use Java to validate it. Read the documentation which come along the captcha API in question.
shyamkumar bopannachengalaiah
Ranch Hand

Joined: Dec 30, 2008
Posts: 100
Bauke Scholtz wrote:You want to validate a captcha with a client side language? That captcha would be fairly worthless then.

Just submit form to server side the usual way and use Java to validate it. Read the documentation which come along the captcha API in question.


Is there any other security code image apart from captcha image?since i am struggling with captcha image.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30919
    
158

shyamkumar bopannachengalaiah wrote:Is there any other security code image apart from captcha image?since i am struggling with captcha image.

You haven't said what the problem is with the captcha yet. What Java code do you have so far in your servlet/JSP?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Security is to be validated at the server side, period.
Captcha is just a security technique. That you're using it the wrong way, doesn't make it a bad solution.

As said, just submit the form to the server, let the server validate the captcha and take action accordingly.
 
 
subject: captcha image