验证码下载验证码实现

雪大雪小 47 0 RAR 2019-02-18 17:02:26

简单的验证码实现 public static void generateTokenImage(HttpServletResponse response, HttpSession session, int width, int height) throws IOException { //设置响应内容为图片格式 response.setContentType("image/jpeg"); //禁止浏览器缓存 response.addHeader("pragma", "NO-cache"); response.addHeader

用户评论
请输入评论内容
评分:
暂无评论