图形验证码的java通用类(三)
v);
} catch (Exception e) {
e.printStackTrace();
}
}
}
需要在web.xml中配置该servlet
然后在一个页面中用下面的代码来显示图片
<
html>
验证码: