使用工具类(Servlet)、修改工具类。注意:要在xml文件里配置名称路径

改随机字符的字典、图片循环次数

1.改随机字符的字典
2.图片循环次数
3.图片大小
不要忘了在xml文件里配置名称路径

功能:
1.在表单中插入验证码

2.验证其不为空

3.更换图片

4.验证其正确性(一般不区分大小写:xxx.equalsIgnoreCase(xxx))

4.验证输入是否正确(一般不区分大小写)
使用工具类(Servlet)、修改工具类。注意:要在xml文件里配置名称路径
改随机字符的字典、图片循环次数
1.改随机字符的字典
2.图片循环次数
3.图片大小
不要忘了在xml文件里配置名称路径
功能:
1.在表单中插入验证码
2.验证其不为空
3.更换图片
4.验证其正确性(一般不区分大小写:xxx.equalsIgnoreCase(xxx))
4.验证输入是否正确(一般不区分大小写)
本文标题:验证码
本文链接:https://www.haomeiwen.com/subject/anudrxtx.html
网友评论