i have captcha code.captcha servlet which is generating captcha. i have to implement in registration module. Captcha display in first page. when i click next button it should be go next page if text which on image should be match with user enter text in text field .if it not match return first page. where do i do validation.
already i created session text of captcha in servlet.