📄 readme
字号:
This directory contains the Grails application used to test SimpleCaptcha. It requires two libraries, included in the download: imaging.jar and simplecaptcha.jar. These need to be in the lib/ directory before the app will run. You can either copy them there, or create symbolic links to them if your OS supports it: # ln -s ../../../../lib/imaging.jar . # ln -s ../../../../dist/simplecaptcha.jar .Then to run: grails run-appOnce it has started simply browse to: http://localhost:8080/scThe source code used to generate these CAPTCHAs is available under: grails-app/controllers/Most of these use the builder class, but one (SpringController.groovy) shows a simple example of configuring SimpleCaptcha using Spring. The corresponding Spring definition file is available located here: grails-app/conf/spring/resources.groovyNote that this file uses Grails' DSL for configuring Spring managed beans. Information on Grails' Bean DSL is available here: http://grails.org/doc/1.0.x/guide/14.%20Grails%20and%20Spring.html
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -