web3.0 servlet生成验证码
2016-05-01 本文已影响0人
changce
req.getSession().setAttribute("picCode",sb.toString());
//输出图片
ImageIO.write(bufferedImage,"JPG",resp.getOutputStream());
}
}
req.getSession().setAttribute("picCode",sb.toString());
//输出图片
ImageIO.write(bufferedImage,"JPG",resp.getOutputStream());
}
}