你的位置:
首页
>
软件开发 >
Java > SpringMvc项目中使用GoogleKaptcha 生成验证码
SpringMvc项目中使用GoogleKaptcha 生成验证码
发布时间:2017-01-18 00:00:26
前言:google captcha 是google生成验证码的一个工具类,其原理是将随机生成字符串保存到session中,同时以图片的形式返回给页面,之后前台页面提交到后台进行对比。 1、jar包准备官方提供的pom应该是<dependency> <gr ...
前言:google captcha 是google生成验证码的一个工具类,其原理是将随机生成字符串保存到session中,同时以图片的形式返回给页面,之后前台页面提交到后台进行对比。
官方提供的pom应该是
<dependency> <groupId>com.google.code.kaptcha</groupId> <artifactId>kaptcha</artifactId> <version>2.3.2</version> </dependency>
原标题:SpringMvc项目中使用GoogleKaptcha 生成验证码
关键词:Spring
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。
瑞士旅游夏季:https://www.vstour.cn/t/瑞士旅游夏季.html
瑞士旅游线:https://www.vstour.cn/t/瑞士旅游线.html
瑞士旅游线路:https://www.vstour.cn/t/瑞士旅游线路.html
瑞士旅游线路大全:https://www.vstour.cn/t/瑞士旅游线路大全.html
瑞士旅游小镇:https://www.vstour.cn/t/瑞士旅游小镇.html
瑞士旅游携程:https://www.vstour.cn/t/瑞士旅游携程.html
深圳大运中心附近商圈有哪些:https://www.vstour.cn/a/336167.html
深圳大运中心附近吃饭的地方推荐:https://www.vstour.cn/a/336168.html