锘??xml version="1.0" encoding="utf-8" standalone="yes"?>永久免费毛片在线播放不卡,国产精品久久久久蜜臀,精品一区二区三区四区五区http://www.aygfsteel.com/g710246442/category/54442.html鍚慾avaEE鍓嶈繘zh-cnWed, 23 Jul 2014 14:45:11 GMTWed, 23 Jul 2014 14:45:11 GMT60frameset妗嗘灦濡備綍鍦╯ession榪囨湡鍚庤煩鍏ュ埌欏跺眰欏甸潰http://www.aygfsteel.com/g710246442/articles/401355.html榫氬皬浼?/dc:creator>榫氬皬浼?/author>Tue, 09 Jul 2013 03:43:00 GMThttp://www.aygfsteel.com/g710246442/articles/401355.htmlhttp://www.aygfsteel.com/g710246442/comments/401355.htmlhttp://www.aygfsteel.com/g710246442/articles/401355.html#Feedback0http://www.aygfsteel.com/g710246442/comments/commentRss/401355.htmlhttp://www.aygfsteel.com/g710246442/services/trackbacks/401355.html
杞嚜:http://martinwu.blog.163.com/blog/static/2147211482013324111017321/
frameset妗嗘灦濡備綍鍦╯ession榪囨湡鍚庤煩鍏ュ埌欏跺眰欏甸潰

渚嬪錛氬湪Java Web寮鍙戜腑鍚庡彴綆$悊緋葷粺鐢ㄧ殑frameset浣滀負妗嗘灦鏉ュ睍鐜版暣涓悗鍙扮殑鎿嶄綔鍔熻兘錛屼絾鏄幇鍦ㄦ垜浠埄鐢╯ervlet鐨勮繃婊ゅ櫒鏉ユ帶鍒舵墍鏈夐〉闈㈢殑session鏄惁榪囨湡錛屽鏋滆繃鏈熷垯闇瑕佽煩鍏ュ埌欏跺眰鐨勭櫥褰曢〉闈?/p>

寰寰鍦ㄥ畬鎴愯繖涓搷浣滅殑鏃跺欐湁涓瀹氶棶棰樻垜浠渶瑕佽В鍐籌紝鍗籌細褰撳嚭鐜皊ession榪囨湡鍚庯紝鐧誨綍欏甸潰浼氬湪褰撳墠鐨刦rame瀛?/p>

妗嗘灦涓樉紺恒傝繖鏍峰瓙闈炲父涓嶅ソ銆?/p>

綆鍗曠殑瑙e喅鏂規硶錛氬湪鐧誨綍欏甸潰涓殑JavaScript涓姞鍏ヤ竴涓垽鏂?br />

<script type="text/javascript">
if (top.location != self.location){
top.location=self.location;
}
</script>


]]>
鏃犲埛鏂版洿鎹㈤〉闈㈤獙璇佺爜http://www.aygfsteel.com/g710246442/articles/394650.html榫氬皬浼?/dc:creator>榫氬皬浼?/author>Wed, 23 Jan 2013 07:16:00 GMThttp://www.aygfsteel.com/g710246442/articles/394650.htmlhttp://www.aygfsteel.com/g710246442/comments/394650.htmlhttp://www.aygfsteel.com/g710246442/articles/394650.html#Feedback0http://www.aygfsteel.com/g710246442/comments/commentRss/394650.htmlhttp://www.aygfsteel.com/g710246442/services/trackbacks/394650.html<img src=“璺緞.jsp鎴栬卆ction鎴栬卻ervlet” id=“img”/>
<a href="#" onclick="refresh()">鐪嬩笉娓咃紵</a>
//js浠g爜
<script type="text/javascript">
function refresh(){
    document.getElementById("img").src="璺緞.jsp錛熷弬鏁?"+Math.random錛堬級;
}
</script>

//楠岃瘉鐮佺敓鎴愰〉闈?br /><%@ page  import="java.awt.*,java.awt.image.*,java.util.*,javax.imageio.*" %>  
<%@ page import="java.io.OutputStream" %>  
<%!  
Color getRandColor(int fc,int bc){  
Random random = new Random();  
if(fc>255) fc=255;  
if(bc>255) bc=255;  
int r=fc+random.nextInt(bc-fc);  
int g=fc+random.nextInt(bc-fc);  
int b=fc+random.nextInt(bc-fc);  
return new Color(r,g,b);  
}  
%>  
<%  
try{  
response.setHeader("Pragma","No-cache");  
response.setHeader("Cache-Control","no-cache");  
response.setDateHeader("Expires", 0);  
String codelist = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890";
int width=60, height=20;  
BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);  
OutputStream os=response.getOutputStream();  
Graphics g = image.getGraphics();  
Random random = new Random();  
g.setColor(getRandColor(200,250));  
g.fillRect(0, 0, width, height);  
 
g.setFont(new Font("Times New Roman",Font.PLAIN,18));  
g.setColor(getRandColor(160,200));  
for (int i=0;i<155;i++)  
{  
int x = random.nextInt(width);  
int y = random.nextInt(height);  
int xl = random.nextInt(12);  
int yl = random.nextInt(12);  
g.drawLine(x,y,x+xl,y+yl);  
}
String sRand="";  
for (int i=0;i<4;i++){  
 int rand=random.nextInt(codelist.length());
    String strRand=codelist.substring(rand,rand+1);
    sRand+=strRand;  
g.setColor(new Color(20+random.nextInt(110),20+random.nextInt(110),20+random.nextInt(110)));  
g.drawString(strRand,13*i+6,16);
}
session.setAttribute("rand",sRand);  
g.dispose();  
 
ImageIO.write(image, "JPEG",os);  
 
os.flush();  
os.close();  
os=null;  
response.flushBuffer();  
out.clear();  
out = pageContext.pushBody();  
}  
catch(IllegalStateException e)  
{  
System.out.println(e.getMessage());  
e.printStackTrace();  
}%> 

]]>
主站蜘蛛池模板: 双峰县| 浦江县| 罗田县| 墨竹工卡县| 吴堡县| 道真| 普安县| 湖北省| 邢台市| 新巴尔虎左旗| 剑阁县| 奉节县| 太湖县| 富锦市| 高淳县| 武邑县| 师宗县| 东安县| 抚远县| 离岛区| 北碚区| 洞头县| 手游| 谢通门县| 乐安县| 临泽县| 潍坊市| 长兴县| 桑植县| 峨山| 儋州市| 贡嘎县| 方山县| 盐城市| 古丈县| 大埔县| 西充县| 娄底市| 阿坝县| 江门市| 大渡口区|