锘??xml version="1.0" encoding="utf-8" standalone="yes"?>蜜臀av一级做a爰片久久,色呦呦久久久,亚洲国产精品第一区二区http://www.aygfsteel.com/flustar/category/18560.htmlzh-cnFri, 02 Mar 2007 06:33:52 GMTFri, 02 Mar 2007 06:33:52 GMT60鐢╦ava瀹炵幇褰╄壊楠岃瘉鐮?/title><link>http://www.aygfsteel.com/flustar/archive/2006/12/20/89043.html</link><dc:creator>flustar</dc:creator><author>flustar</author><pubDate>Wed, 20 Dec 2006 07:06:00 GMT</pubDate><guid>http://www.aygfsteel.com/flustar/archive/2006/12/20/89043.html</guid><wfw:comment>http://www.aygfsteel.com/flustar/comments/89043.html</wfw:comment><comments>http://www.aygfsteel.com/flustar/archive/2006/12/20/89043.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/flustar/comments/commentRss/89043.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/flustar/services/trackbacks/89043.html</trackback:ping><description><![CDATA[ <p> <font color="#000000"><%@ page language="java" contentType="image/jpeg"<br />聽聽聽 pageEncoding="gb2312"%<strong>></strong><br /><%@ page import="java.awt.*,java.awt.image.*,java.util.*,javax.imageio.*"%> </font> </p> <p> <font color="#000000"><%!<br />聽聽 Color getRandColor(int fc,int bc){<br />聽Random rand=new Random();<br />聽if(fc>255) fc=255;<br />聽if(bc>255) bc=255;<br />聽int r=fc+rand.nextInt(bc-fc);<br />聽int g=fc+rand.nextInt(bc-fc);<br />聽int b=fc+rand.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);<br />聽 <br />聽 //鍦ㄥ唴瀛樹腑鍒涘緩鍥懼儚<br />聽 int width=60,height=20;<br />聽 BufferedImage image=new BufferedImage(width,height,BufferedImage.TYPE_INT_BGR);<br />聽 <br />聽 //鑾峰彇鍥懼儚<br />聽 Graphics g=image.getGraphics();<br />聽 //鐢熸垚闅忔満綾?br />聽 Random rand=new Random();<br />聽 //璁懼畾鑳屾櫙棰滆壊<br />聽 g.setColor(getRandColor(200,250));<br />聽 g.fillRect(0,0,width,height);<br />聽 //璁懼畾瀛椾綋<br />聽 g.setFont(new Font("Times New Roman",Font.PLAIN,18));<br />//闅忔満浜х敓155鏉″共鎵扮嚎錛屼嬌鍥捐薄涓殑璁よ瘉鐮佷笉鏄撹鍏跺畠紼嬪簭鎺㈡祴鍒?br />聽g.setColor(getRandColor(160,200));<br />聽for(int i=0;i<155;i++){<br />聽 int x=rand.nextInt(width);<br />聽 int y=rand.nextInt(height);<br />聽 int x1=rand.nextInt(12);<br />聽 int y1=rand.nextInt(12);<br />聽 g.drawLine(x,y,x+x1,y+y1);<br />聽 <br />聽}<br />聽//鍙栭殢鏈轟駭鐢熺殑4浣嶉獙璇佺爜<br />聽String sRand="";<br />聽for(int i=0;i<4;i++){<br />聽 String strRand=String.valueOf(rand.nextInt(10));<br />聽 sRand+=strRand;<br />聽 //灝嗛獙璇佺爜鏄劇ず鍒板浘鍍忎腑<br />聽 g.setColor(new Color(20+rand.nextInt(110),20+rand.nextInt(110),20+rand.nextInt(110)));<br />聽 g.drawString(strRand,13*i+6,16); </font> </p> <p> <font color="#000000">聽}<br />聽//灝嗛獙璇佺爜鏀懼叆session<br />聽 session.setAttribute("rand",sRand);<br />聽<br />聽g.dispose();<br />//杈撳嚭鍥捐薄鍒伴〉闈?br />聽ImageIO.write(image, "JPEG", response.getOutputStream()); </font> </p> <p> <font color="#000000"> </font>聽</p> <p> <font color="#000000">%> </font> </p> <img src ="http://www.aygfsteel.com/flustar/aggbug/89043.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/flustar/" target="_blank">flustar</a> 2006-12-20 15:06 <a href="http://www.aygfsteel.com/flustar/archive/2006/12/20/89043.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鐢↗SP瀹炵幇涓嬫媺鍒楄〃妗嗕笁綰ц仈鍔ㄦ晥鏋?/title><link>http://www.aygfsteel.com/flustar/archive/2006/12/20/89041.html</link><dc:creator>flustar</dc:creator><author>flustar</author><pubDate>Wed, 20 Dec 2006 07:03:00 GMT</pubDate><guid>http://www.aygfsteel.com/flustar/archive/2006/12/20/89041.html</guid><wfw:comment>http://www.aygfsteel.com/flustar/comments/89041.html</wfw:comment><comments>http://www.aygfsteel.com/flustar/archive/2006/12/20/89041.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/flustar/comments/commentRss/89041.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/flustar/services/trackbacks/89041.html</trackback:ping><description><![CDATA[ <p>涓銆佸湪鏁版嵁搴撴暟鎹簱涓緩绔嬩笁涓〃<br />1.city<br />瀛楁錛?br />districtname錛宭ocationid錛宒istrictid<br />2.province<br />瀛楁錛?br />locationid錛宭ocationname<br />3.village<br />瀛楁錛?br />villageid,villagename,districtid<br />浜屻佷唬鐮佸涓嬶細<br /><%@ page language="java" contentType="text/html; charset=gb2312"<br />聽聽聽 pageEncoding="gb2312"%><br /><%@ page import="java.sql.* "%><br /><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><br /><html><br /><head><br /><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><br /><title>jsp瀹炵幇涓夌駭鑱斿姩鐨勪笅鎷夊垪琛ㄦ鏁堟灉</title><br /><%<br />聽聽 Connection conn=null;<br />聽聽 Statement stmt=null;<br />聽聽 ResultSet rs=null,rs1=null,rs2=null;<br />聽聽 String sql;<br />聽聽 int count;<br />聽聽 int count2;<br />聽聽 String drivername="com.microsoft.jdbc.sqlserver.SQLServerDriver";<br />聽聽 String url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=SJLD";<br />聽聽 try{<br />聽聽聽 Class.forName(drivername);<br />聽聽聽 conn=DriverManager.getConnection(url,"sa","");<br />聽聽聽 stmt=conn.createStatement錛堬級;<br />聽聽聽 sql="select * from city order by locationid asc";<br />聽聽聽 rs=stmt.executeQuery(sql);<br />聽聽 }catch(SQLException e){<br />聽聽聽 System.out.println(e.getMessage());<br />聽聽 }<br />聽聽 <br />%><br /><script language="javascript"><br />var onecount;<br />onecount=0;<br />subcat=new Array();<br /><%<br />count=0;<br />while(rs.next()){<br />聽%><br />聽subcat[<%=count%>]=new Array("<%=rs.getString("districtname")%>","<%=rs.getInt("locationid")%>","<%=rs.getInt("districtid")%>");<br />聽<%<br />聽count = count + 1 ; </p> <p>}<br />rs.close();<br />rs=null;<br />%><br />onecount=<%=count%>;<br />function changelocation(locationid){<br />document.myform.smalllocation.length=0;<br />var locationid=locationid;<br />var i;<br />document.myform.smalllocation.options[0]=new Option('==鎵閫夊煄甯傜殑鍦板尯==',''); <br />for(i=0;i<onecount;i++){<br />if (subcat[i][1] == locationid) <br />{ <br />document.myform.smalllocation.options[document.myform.smalllocation.length] = new Option(subcat[i][0], subcat[i][2]); <br />} <br />} </p> <p>聽聽 <br />}<br /></script><br /><%<br />聽sql="select * from village order by districtid asc";<br />聽rs2=stmt.executeQuery(sql);<br />%><br /><script language="javascript"><br />var onecount2;<br />onecount2=0;<br />subcat2=new Array();<br /><%<br />count2=0;<br />while(rs2.next()){<br />聽%><br />聽subcat2[<%=count2%>]=new Array("<%=rs2.getString("villagename")%>","<%=rs2.getInt("districtid")%>","<%=rs2.getInt("villageid")%>");<br />聽<%<br />聽count2 = count2 + 1 ; </p> <p>}<br />rs2.close();<br />rs2=null;<br />%><br />onecount2=<%=count2%>;<br />function changelocation2(districtid) <br />{ <br />document.myform.village.length = 0; </p> <p>var districtid=districtid; <br />var j; <br />document.myform.village.options[0] = new Option('==鎵閫夊湴鍖虹殑鍘垮尯==',''); <br />for (j=0;j < onecount2; j++) <br />{ <br />聽 if (subcat2[j][1] == districtid) <br />聽{ <br />聽 document.myform.village.options[document.myform.village.length] = new Option(subcat2[j][0], subcat2[j][2]); <br />聽 } <br />} </p> <p>} <br /></script> </p> <p></head><br /><body><br /><form name="myform" method="post"> <br />鍒嗙被錛?lt;select name="biglocation" onChange="changelocation(document.myform.biglocation.options[document.myform.biglocation.selectedIndex].value)" size="1"> <br /><option selected>璇烽夋嫨浣犳墍鍦ㄧ殑鐪佷喚</option> <br /><% <br />聽 sql ="select * from province order by locationname asc";<br />聽rs1 = stmt.executeQuery(sql);<br />聽while(rs1.next()){<br />聽%> <br />聽<option value="<%=rs1.getInt("locationid")%>"><%=rs1.getString("locationname")%></option> </p> <p>聽<% }<br />聽<br />聽<br />聽rs1.close(); <br />聽rs1 = null; <br />聽conn.close();<br />聽conn =null; </p> <p> <br />%> <br /></select><select name="smalllocation" onChange="changelocation2(document.myform.smalllocation.options[document.myform.smalllocation.selectedIndex].value)"> <br /><option selected value="">==鎵鏈夊湴鍖?=</option> <br /></select><select name="village" size="1"> <br /><option selected>==鎵鏈夊幙鍖?=</option> <br /></select> <br /></form> </p> <p></body><br /></html><br /></p> <img src ="http://www.aygfsteel.com/flustar/aggbug/89041.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/flustar/" target="_blank">flustar</a> 2006-12-20 15:03 <a href="http://www.aygfsteel.com/flustar/archive/2006/12/20/89041.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>