jsf 2 - javax.faces.FacesException: Cannot find public key for catpcha -


i want implement captcha in application, error can tell me reason ??

juin 01, 2014 12:22:04 pm com.sun.faces.context.partialviewcontextimpl$phaseawarevisitcallback visit grave: javax.faces.facesexception: cannot find public key catpcha, use primefaces.public_captcha_key context-param define one

see message, need register captcha key add following web.xml

   <context-param>         <param-name>primefaces.public_captcha_key</param-name>         <param-value>your-publickey</param-value>     </context-param>      <context-param>         <param-name>primefaces.private_captcha_key</param-name>         <param-value>your-private-key</param-value>     </context-param> 

to register goto : https://www.google.com/recaptcha/intro/index.html


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -