码迷,mamicode.com
首页 > 其他好文 > 详细

cage 验证码的使用

时间:2015-08-28 17:57:09      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:

http://akiraly.github.io/cage/quickstart.html

If you use maven add this to your pom:

<dependency>
  <groupId>com.github.cage</groupId>
  <artifactId>cage</artifactId>
  <version>1.0</version>
</dependency>

If you are not using maven, you have to download the jar manually from the repository and add it to your application‘s classpath.

Now you can generate captcha images. In this example we will generate a captcha file with "G" template.

 
web 示例

http://akiraly.github.io/cage/e02_servlet.html


cage 验证码的使用

标签:

原文地址:http://my.oschina.net/u/1045177/blog/498747

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!