0

I am trying to create a page for new user sign where i am showing the imagetext for verification to avoid spamming. I am able to dynamically create the imagetext and show it to the user. When the user submits how do associate the input text with the original image text. I dont want to use hidden input elements to store the text. I am using Springs and is there a way Spring can help with this? Any examples or link would greatly help me.

edit

@Rasoul Pashaie the link you gave "Integrating Captcha with Spring Security" talks about using third party service like reCaptcha. What i want to do is develop my own service. As i said above i already have a way to produce an image from text. I just need to weave the rest of the part where user will submit and in the backend the validation is done. I am just trying to know how to do this validation

user1241438
  • 1,533
  • 4
  • 17
  • 24

1 Answers1

0

What you refer as imagetext, is known as CAPTCHA. you can find out more at: http://en.wikipedia.org/wiki/CAPTCHA

And yeah, storing them in hidden input are not a good solution. You must keep the original text in Session.

for integrating with spring, check this thread

Community
  • 1
  • 1
R Pasha
  • 700
  • 5
  • 21
  • the link you gave "Integrating Captcha with Spring Security" talks about using third party service like reCaptcha. What i want to do is develop my own service. As i said above i already have a way to produce an image from text. I just need to weave the rest of the part where user will submit and in the backend the validation is done. I am just trying to know how to do this validation. – user1241438 Mar 23 '12 at 15:18