摘要:
req.setCharacterEncoding("utf-8"); resp.setContentType("text/html;charset=utf-8"); BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); // 图像的上下文 Graphics g = image.getGraphics(); // 处理验证码区域的颜色 g.setColor(Color.white); g.fillRect(0, 0, width, height
阅读全文