锘??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();  
}%> 

]]>
主站蜘蛛池模板: 彰化县| 孝昌县| 湟源县| 襄垣县| 大同县| 万全县| 新宾| 佳木斯市| 嘉黎县| 平乐县| 陆川县| 穆棱市| 杭锦旗| 辛集市| 娱乐| 镇康县| 思茅市| 益阳市| 丁青县| 章丘市| 南汇区| 台东县| 凤凰县| 龙江县| 宜川县| 汨罗市| 尚志市| 盐津县| 长汀县| 同仁县| 临安市| 宁明县| 宁强县| 沽源县| 湖北省| 新邵县| 永善县| 福海县| 温州市| 拜泉县| 诸暨市|