简单实用的java验证码
废话不多说,直接上干货!!!
java代码
public void captcha(HttpServletRequest request,HttpServletResponse response) throws IOException {
SpecCaptcha specCaptcha = new SpecCaptcha( 120,30,4 );
request.getSession().setAttribute("specCaptcha",specCaptcha.
原创
2021-06-17 18:02:39 ·
142 阅读 ·
0 评论