[工具类] 中文验证 [java交流q群12375544].jsp([tool class] Chinese verification, [java communication, Q group, 12375544].jsp).docVIP
- 3
- 0
- 约4.62千字
- 约 9页
- 2017-10-05 发布于河南
- 举报
[工具类] 中文验证 [java交流q群12375544].jsp([tool class] Chinese verification, [java communication, Q group, 12375544].jsp)
[工具类] 中文验证 [java交流q.jsp([tool class] Chinese verification, [java communication, Q group,.jsp)
*
A verification graphics generation program. Support for Chinese verification code generation procedures. When you did not look carefully, there may be a small problem, but there is no problem running
Usage method:
trtd verification code: /td
tdinput, tabindex=3, maxlength=4, size=4, name=yzmimg, usage=, int, tip=, , enter the number! Title= enters the Arabia number /nbsp; /td
tda href= javascript:refreshImg (validateCodeImg); img src= yzmImg.jsp alt= please input the corresponding on the left side of the Arabia digital name= validateCodeImg border=0 align= absmiddle id= validateCodeImg //a
Enter the corresponding Arabia number. If you dont count, please click /td/tr
script language=, JavaScript, type=, text/javascript
Function, refreshImg (imgID), {var, IMG = document.getElementById (imgID); img.src = img.src;}
/script
Generate graphical JSP files:
* /
%@page session=, true, contentType=, image/jpeg, charset=gb2312
Import= java.awt.image.*, java.awt.*.
Import= java.util.*
Import= javax.servlet.*
Import= javax.servlet.http.*
Import= javax.imageio.*
Import= java.io.OutputStream
Import= java.io.OutputStream
%%!
Private int iCharHeight = 20;
Private int iCharCnt = 4;
Private int iMaxOffset = 8; / / character position about the maximum pixel cheap
Private int iImgWidth = 20*iCharCnt + iMaxOffset*2; / / picture width
Private int iImgHeight = iCharHeight + 5; / / picture height
Private int iDisturbLineCnt = 8; / / noiselinenumber
//////////////////////////////////////////////////////
//private String Src = Lingyiersansiwuluqibajiu;
Private String Src = 0123456789;
//private String Src = 的了是我不在人们有来他这上着个地到大里说就去子得也和那要下看天时过出小么起你都把好还多没为又可家学只以主会样年想生同老中十从自面前头道它后然走很像见两用她国动进成回什边作对开而己些现山民候经发工向事命给长水几义三声于高手知理眼志点心战二问但身方实吃做叫当住听革打呢真全才四已所敌之最光产情路分总条白话东席次亲如被花口放儿常气五第使写军吧文运再果怎定许快明行因别飞外树物活部门无往船望新带队先力完却站代员机更九您每风级跟笑啊孩万少直意夜比阶连车重便斗马哪化太指变社似士者干石满日决百原 拿群究各六本思解立河村八难早论吗根共让相研今其书坐接应关信觉步
您可能关注的文档
- 27个不良习惯(27 bad habits).doc
- 2亿赞助引来巨额订单揭秘英利世界杯算盘(200 million sponsorship attracted huge orders, secret Yingli World Cup abacus).doc
- 2会计科目和账户(1-2)(2 accounts and accounts (1-2)).doc
- 2显卡故障(2 graphics card fault).doc
- 2第二节神经反射作用(2, second nerve reflex).doc
- 30岁前挣10万年薪的秘诀(The secret of earning 100 thousand annual salary before 30).doc
- 2013春季学期会计制度设计阶段性测验1(2013 spring semester accounting system design phase test 1).doc
- 30天30队2010-11季,关注丹佛掘金的10个理由(30 days, 30 teams, 2010-11 seasons, 10 reasons for focusing on Denver Nuggets).doc
- 397分一点复习心得(397 points a little review experience).doc
- 3d教学笔记 nurbs建模(3D teaching notes, NURBS modeling).doc
原创力文档

文档评论(0)