锘??xml version="1.0" encoding="utf-8" standalone="yes"?>aⅴ色国产欧美,国产私拍福利精品视频二区,三级av在线http://www.aygfsteel.com/kylixlu/category/29071.htmlzh-cnThu, 24 Apr 2008 18:35:28 GMTThu, 24 Apr 2008 18:35:28 GMT60JSP楠岃瘉鐮佷唬鐮?/title><link>http://www.aygfsteel.com/kylixlu/archive/2008/04/24/195762.html</link><dc:creator>闄嗘槺鐩?/dc:creator><author>闄嗘槺鐩?/author><pubDate>Thu, 24 Apr 2008 15:50:00 GMT</pubDate><guid>http://www.aygfsteel.com/kylixlu/archive/2008/04/24/195762.html</guid><wfw:comment>http://www.aygfsteel.com/kylixlu/comments/195762.html</wfw:comment><comments>http://www.aygfsteel.com/kylixlu/archive/2008/04/24/195762.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/kylixlu/comments/commentRss/195762.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/kylixlu/services/trackbacks/195762.html</trackback:ping><description><![CDATA[ 鐢熸垚鏈?涓殢鏈烘暟瀛楀拰鏉備貢鑳屾櫙鐨勫浘鐗囷紝鏁板瓧鍜岃儗鏅鑹蹭細鏀瑰彉錛屾湇鍔″櫒绔埛鏂幫紙鐢╤istory.go(-1)涔熶細鍙橈級<br />     鍘熷瀷鍙傝傾LIBABA  http://china.alibaba.com/member/showimage<br />     浜х敓楠岃瘉鐮佸浘鐗囩殑鏂囦歡-----image.jsp <p><font face="Times New Roman">    <%@ page contentType="image/jpeg" import="java.awt.*,java.awt.image.*,java.util.*,javax.imageio.*" %><br />     <%!<br />     Color getRandColor(int fc,int bc){//緇欏畾鑼冨洿鑾峰緱闅忔満棰滆壊<br />             Random random = new Random();<br />             if(fc>255) fc=255;<br />             if(bc>255) bc=255;<br />             int r=fc+random.nextInt(bc-fc);<br />             int g=fc+random.nextInt(bc-fc);<br />             int b=fc+random.nextInt(bc-fc);<br />             return new Color(r,g,b);<br />             }<br />     %><br />     <%<br />     //璁劇疆欏甸潰涓嶇紦瀛?br />     response.setHeader("Pragma","No-cache");<br />     response.setHeader("Cache-Control","no-cache");<br />     response.setDateHeader("Expires", 0);</font></p> <p><font face="Times New Roman">    // 鍦ㄥ唴瀛樹腑鍒涘緩鍥捐薄<br />     int width=60, height=20;<br />     BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);</font></p> <p><font face="Times New Roman">    // 鑾峰彇鍥懼艦涓婁笅鏂?br />     Graphics g = image.getGraphics();</font></p> <p><font face="Times New Roman">    //鐢熸垚闅忔満綾?br />     Random random = new Random();</font></p> <p><font face="Times New Roman">    // 璁懼畾鑳屾櫙鑹?br />     g.setColor(getRandColor(200,250));<br />     g.fillRect(0, 0, width, height);</font></p> <p><font face="Times New Roman">    //璁懼畾瀛椾綋<br />     g.setFont(new Font("Times New Roman",Font.PLAIN,18));</font></p> <p><font face="Times New Roman">    //鐢昏竟妗?br />     //g.setColor(new Color());<br />     //g.drawRect(0,0,width-1,height-1);</font></p> <font face="Times New Roman"> <p><br />     // 闅忔満浜х敓155鏉″共鎵扮嚎錛屼嬌鍥捐薄涓殑璁よ瘉鐮佷笉鏄撹鍏跺畠紼嬪簭鎺㈡祴鍒?br />     g.setColor(getRandColor(160,200));<br />     for (int i=0;i<155;i++)<br />     {<br />      int x = random.nextInt(width);<br />      int y = random.nextInt(height);<br />             int xl = random.nextInt(12);<br />             int yl = random.nextInt(12);<br />      g.drawLine(x,y,x+xl,y+yl);<br />     }</p> <p>    // 鍙栭殢鏈轟駭鐢熺殑璁よ瘉鐮?4浣嶆暟瀛?<br />     String sRand="";<br />     for (int i=0;i<4;i++){<br />         String rand=String.valueOf(random.nextInt(10));<br />         sRand+=rand;<br />         // 灝嗚璇佺爜鏄劇ず鍒板浘璞′腑<br />         g.setColor(new Color(20+random.nextInt(110),20+random.nextInt(110),20+random.nextInt(110)));//璋冪敤鍑芥暟鍑烘潵鐨勯鑹茬浉鍚岋紝鍙兘鏄洜涓虹瀛愬お鎺ヨ繎錛屾墍浠ュ彧鑳界洿鎺ョ敓鎴?br />         g.drawString(rand,13*i+6,16);<br />     }</p> <p>    // 灝嗚璇佺爜瀛樺叆SESSION<br />     session.setAttribute("rand",sRand);</p> <p><br />     // 鍥捐薄鐢熸晥<br />     g.dispose();</p> <p>    // 杈撳嚭鍥捐薄鍒伴〉闈?br />     ImageIO.write(image, "JPEG", response.getOutputStream());</p> <p><br />     %></p> <p>    ---------------浣跨敤楠岃瘉鐮佸浘鐗囩殑鏂囦歡---------a.jsp------------------------------------</p> <p>    <%@ page contentType="text/html;charset=gb2312" %><br />     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><br />     <html><br />     <head><br />     <title>璁よ瘉鐮佽緭鍏ラ〉闈?lt;/title><br />     <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><br />     <META HTTP-EQUIV="Pragma" CONTENT="no-cache"><br />     <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"><br />     <META HTTP-EQUIV="Expires" CONTENT="0"><br />     </head><br />     <body><br />     <form method=post action="check.jsp"><br />     <table><br />     <tr><br />     <td align=left>緋葷粺浜х敓鐨勮璇佺爜錛?lt;/td><br />     <td><img border=0 src="image.jsp"></td><br />     </tr><br />     <tr><br />     <td align=left>杈撳叆涓婇潰鐨勮璇佺爜錛?lt;/td><br />     <td><input type=text name=rand maxlength=4 value=""></td><br />     </tr><br />     <tr><br />     <td colspan=2 align=center><input type=submit value="鎻愪氦媯嫻?></td><br />     </tr><br />     </form><br />     </body><br />     </html></p> <p>    -----------------楠岃瘉鐨勯〉闈?---------check.jsp</p> <p>    <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %><br />     <html><br />     <head><br />     <title>璁よ瘉鐮侀獙璇侀〉闈?lt;/title><br />     <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><br />     <META HTTP-EQUIV="Pragma" CONTENT="no-cache"><br />     <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"><br />     <META HTTP-EQUIV="Expires" CONTENT="0"><br />     </head></p> <p>    <body><br />     <%<br />      String rand = (String)session.getAttribute("rand");<br />      String input = request.getParameter("rand");<br />     %><br />     緋葷粺浜х敓鐨勮璇佺爜涓猴細 <%= rand %><br><br />     鎮ㄨ緭鍏ョ殑璁よ瘉鐮佷負錛?<%= input %><br><br />     <br><br />     <%<br />       if (rand.equals(input)) {<br />     %><br />     <font color=green>杈撳叆鐩稿悓錛岃璇佹垚鍔燂紒</font><br />     <%<br />       } else {<br />     %><br />     <font color=red>杈撳叆涓嶅悓錛岃璇佸け璐ワ紒</font><br />     <%<br />       }<br />     %><br />     </body><br />     </html></font></p> <img src ="http://www.aygfsteel.com/kylixlu/aggbug/195762.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/kylixlu/" target="_blank">闄嗘槺鐩?/a> 2008-04-24 23:50 <a href="http://www.aygfsteel.com/kylixlu/archive/2008/04/24/195762.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">镇江市</a>| <a href="http://" target="_blank">高邮市</a>| <a href="http://" target="_blank">平果县</a>| <a href="http://" target="_blank">沁源县</a>| <a href="http://" target="_blank">辉县市</a>| <a href="http://" target="_blank">平陆县</a>| <a href="http://" target="_blank">桂东县</a>| <a href="http://" target="_blank">淮滨县</a>| <a href="http://" target="_blank">时尚</a>| <a href="http://" target="_blank">南丰县</a>| <a href="http://" target="_blank">望谟县</a>| <a href="http://" target="_blank">高淳县</a>| <a href="http://" target="_blank">金湖县</a>| <a href="http://" target="_blank">福安市</a>| <a href="http://" target="_blank">泰宁县</a>| <a href="http://" target="_blank">太湖县</a>| <a href="http://" target="_blank">虞城县</a>| <a href="http://" target="_blank">青神县</a>| <a href="http://" target="_blank">墨玉县</a>| <a href="http://" target="_blank">安国市</a>| <a href="http://" target="_blank">凉城县</a>| <a href="http://" target="_blank">诸暨市</a>| <a href="http://" target="_blank">江阴市</a>| <a href="http://" target="_blank">西藏</a>| <a href="http://" target="_blank">抚宁县</a>| <a href="http://" target="_blank">安龙县</a>| <a href="http://" target="_blank">南雄市</a>| <a href="http://" target="_blank">保定市</a>| <a href="http://" target="_blank">洛川县</a>| <a href="http://" target="_blank">嵊泗县</a>| <a href="http://" target="_blank">宝山区</a>| <a href="http://" target="_blank">马公市</a>| <a href="http://" target="_blank">龙川县</a>| <a href="http://" target="_blank">左云县</a>| <a href="http://" target="_blank">郑州市</a>| <a href="http://" target="_blank">镇远县</a>| <a href="http://" target="_blank">邯郸市</a>| <a href="http://" target="_blank">沛县</a>| <a href="http://" target="_blank">瑞安市</a>| <a href="http://" target="_blank">汝城县</a>| <a href="http://" target="_blank">海口市</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>