ok thats great i just used your above link http://www.javacodegeeks.com/2010/06/add-captcha-gwt-application.html and its working its using simplecaptcha ,but i was preferably looking for JCaptcha .. Thanks for your help
On Sun, Jul 17, 2011 at 8:52 AM, camerojo <[email protected]>wrote: > Just got this going - the best and most natural solution for GWT is > described at > > http://groups.google.com/group/google-web-toolkit/browse_thread/thread/51b1fac30a6e1217/de7f3e1af14c7cf4?lnk=gst&q=captcha#de7f3e1af14c7cf4 > > It creates a nice litlle reCaptcha widget which you can include in any > of your other GWT client pages. Then you just retrieve the challenge > and user response Strings and pass them down to your server code like > you would for any other client entered data. > > The server code then can verify whether the user response is > acceptable or not using the standard reCaptcha Java API with code that > looks like: > > ReCaptchaImpl reCaptcha = new ReCaptchaImpl(); > > reCaptcha.setPrivateKey("<your_private_key>"); > > ReCaptchaResponse reCaptchaResponse = > reCaptcha.checkAnswer(remoteAddr, challenge, response); > > boolean valid = reCaptchaResponse.isValid(); > > > On Jul 17, 10:01 am, camerojo <[email protected]> wrote: > > I am interested in this as well - in fact any captcha - not just > > JCaptcha. > > > > Here are two postings that I found recently. I haven't tried either > > yet myself, so interested in any feedback. > > > > http://www.javacodegeeks.com/2010/06/add-captcha-gwt-application.html > > > > and > > > > http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > > > On Jul 16, 6:17 pm, junaid <[email protected]> wrote: > > > > > Hi > > > Is there any tutorial / example of JCaptcha with GWT > > > thanks > > > junaid > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
