http://akiraly.github.io/cage/quickstart.html html
If you use maven add this to your pom: git
<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. github
Now you can generate captcha images. In this example we will generate a captcha file with "G" template. web
web 示例
http://akiraly.github.io/cage/e02_servlet.html app