cage 验证码的使用

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 验证码的使用)