jsf-2 – javax. faces. Facesexception: public key for catpcha not found
•
Java
I want to implement the verification code in my application, but I get this error. Can someone tell me the reason?
Solution
To view the message, you need to register the captcha key, and then add the following to your web In 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, go to: https://www.google.com/recaptcha/intro/index.html
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码