锘??xml version="1.0" encoding="utf-8" standalone="yes"?>天堂美国久久,国产精品区免费视频,亚洲电影一区二区 http://www.aygfsteel.com/liuzheng/category/25554.htmlzh-cn Fri, 09 Nov 2007 16:11:45 GMT Fri, 09 Nov 2007 16:11:45 GMT 60 Session鐨勭敓鍛藉懆鏈熺殑璁劇疆 http://www.aygfsteel.com/liuzheng/articles/159321.html鍒橀摦 鍒橀摦 Fri, 09 Nov 2007 03:47:00 GMT http://www.aygfsteel.com/liuzheng/articles/159321.html http://www.aygfsteel.com/liuzheng/comments/159321.html http://www.aygfsteel.com/liuzheng/articles/159321.html#Feedback 0 http://www.aygfsteel.com/liuzheng/comments/commentRss/159321.html http://www.aygfsteel.com/liuzheng/services/trackbacks/159321.html
鍦╳eb.xml
鍔犲叆
<session-config>
<session-timeout>15</session-timeout>
</session-config>
絎簩縐嶉拡瀵逛笓闂ㄧ殑涓涓猻ession璁捐
session.setMaxInactiveInterval(XXX)
鍦╳eb.xml涓殑<servlet>鍔犲叆
<load-on-startup>1</load-on-startup>
鍙互浣縮ervlet鍦ㄥ鍣ㄥ惎鍔ㄦ椂寰楀埌鍔犺澆錛岃屼笉鐢ㄧ瓑鍒扮涓涓猺equest鐨勫埌杈?br />
]]> 鍦║RL璺寵漿涓湁鍏崇粷瀵瑰湴鍧鍜岀浉瀵瑰湴鍧鐨勭‘瀹?/title> http://www.aygfsteel.com/liuzheng/articles/159262.html鍒橀摦 鍒橀摦 Fri, 09 Nov 2007 01:20:00 GMT http://www.aygfsteel.com/liuzheng/articles/159262.html http://www.aygfsteel.com/liuzheng/comments/159262.html http://www.aygfsteel.com/liuzheng/articles/159262.html#Feedback 0 http://www.aygfsteel.com/liuzheng/comments/commentRss/159262.html http://www.aygfsteel.com/liuzheng/services/trackbacks/159262.html
http://localhost:8080/app/cool.do
濡傛灉鏄痵endRedirect("foo/stuff.html")
閭d箞the Container builds the full URL :
http://localhost:8080/app/cool/foo/stuff.html
濡傛灉鏄痵endRedirect("/foo/stuff.html")
閭d箞the Container builds the full URL :
http://localhost:8080/app/foo/stuff.html
]]> 浣跨敤serlvet鎻愪緵涓嬭澆 http://www.aygfsteel.com/liuzheng/articles/157536.html鍒橀摦 鍒橀摦 Thu, 01 Nov 2007 08:57:00 GMT http://www.aygfsteel.com/liuzheng/articles/157536.html http://www.aygfsteel.com/liuzheng/comments/157536.html http://www.aygfsteel.com/liuzheng/articles/157536.html#Feedback 0 http://www.aygfsteel.com/liuzheng/comments/commentRss/157536.html http://www.aygfsteel.com/liuzheng/services/trackbacks/157536.html
pulic class CodeReturn extends HttpServlet{
public void doGet(HttpServletRequest request,HttpServletResponse response) throws IOException , ServletException {
response.setContentType("application/jar");
ServletContext ctx=getServletContext();
InputStream is=ctx.getResourceAsStream("/bookCode.jar") ;// Returns the resource located at
the named path as an InputStream
object.
int read=0;
byte[] bytes=new byte[1024];
OutputStream os=response.getOuputStream(); // Returns a ServletOutputStream
suitable for writing binary data in the response,Provides an output stream for sending binary data to the client. A ServletOutputStream
object is normally retrieved via the ServletResponse.getOutputStream()
method.
while((read=is.read(bytes)!=-1){
os.write(bytes,0,read);
}
os.flush();
os.close();
}
}
]]> 鍏充簬鍘熼〉闈笌寮瑰嚭欏甸潰涔嬮棿榪涜浜や簰鐨勯棶棰樼殑璁捐 http://www.aygfsteel.com/liuzheng/articles/153034.html鍒橀摦 鍒橀摦 Mon, 15 Oct 2007 09:32:00 GMT http://www.aygfsteel.com/liuzheng/articles/153034.html http://www.aygfsteel.com/liuzheng/comments/153034.html http://www.aygfsteel.com/liuzheng/articles/153034.html#Feedback 0 http://www.aygfsteel.com/liuzheng/comments/commentRss/153034.html http://www.aygfsteel.com/liuzheng/services/trackbacks/153034.html
userForm.submit();
opener.location.reload();//鎴栬呮湁浜涘紑鍙戜漢鍛樺枩嬈㈢敤opener.location=鍒楄〃欏甸潰鐨勮姹倁rl
window.close();
涓婇潰鐨勪唬鐮佹湁涓涓緢鏄庢樉鐨勯棶棰橈紝灝辨槸濡傛灉琛ㄥ崟鎻愪氦緇欏悗鍙幫紝鍚庡彴榪樺湪澶勭悊錛岃屾鏃跺師欏甸潰宸茬粡鎵ц浜嗛噸杞斤紝閭d箞絳夋柊鐢ㄦ埛鍦ㄥ悗鍙板瓨鍌ㄥ悗浜嗭紝涔熶笉浼氬弽鏄犲埌鍒楄〃欏甸潰涓簡錛屽綋鐒跺埛鏂頒竴涓氨鏈変簡錛屼絾鏄氨杈句笉鍒版垜浠墍瑕佺殑鏁堟灉浜嗐備笅闈㈢粰浣犱粙緇嶄竴縐嶆瘮杈冪ǔ濡ョ殑鏂瑰紡錛坅jax鏂瑰紡灝變笉浠嬬粛浜嗭級錛?br />
鍏堣琛ㄥ崟鎻愪氦錛屾彁浜ゅ悗榪樻槸鍥炲埌寮瑰嚭鐨勯偅涓〉闈紝鎴栬呬竴涓叾瀹冪殑欏甸潰錛岀劧鍚庡湪璇ラ〉闈腑鍋氬垽鏂紝濡傛灉鍚庡彴淇℃伅澶勭悊鎴愬姛錛岄偅涔堝氨鎵ц鍘熼〉闈㈢殑閲嶈澆錛岀劧鍚庡叧闂獥鍙c?br />
褰撶劧鏈変簺寮鍙戜漢鍛樿錛屽墠闈㈢殑閭g鏂瑰紡錛屼竴鐩村湪欏圭洰涓嬌鐢ㄦ病鏈夊彂鐜頒粈涔堥棶棰橈紝閭f垜鍛婅瘔浣狅紝閭f槸鍥犱負浣犳瘮杈冨垢榪愶紝鍚庡彴澶勭悊閫熷害寰堝揩錛屽垪琛ㄩ噸杞界殑鏃跺欙紝鍚庡彴宸茬粡澶勭悊瀹屼簡錛屼絾鏄竴鏃﹀悗鍙板鐞嗘參浜嗭紝瀹㈡埛灝辮鎵鵑夯鐑︿簡銆?br />
鎵浠ュ父鐢ㄧ殑璁捐鏄細
1銆?br />
鍘熸潵鐣岄潰涓姞鍏?br />
if(showModalDialog(寮瑰嚭鐨勬柊鐨勭晫闈?)
{
鍘熸潵鐣岄潰鐨剄uery()
}
2銆?br />
鏂扮殑寮瑰嚭鐨勭晫闈腑鍔犲叆
function init()
{
if(鎻愪氦鎴愬姛)
{
windows.retrunValue=true;
return;
}
}
瀵逛簬璇誨彇鍚庡彴鐨勫鐞嗚繕鏄彁浜ゅ悗榪樻槸鍥炲埌寮瑰嚭鐨勯偅涓〉闈?br />
]]> 鍦ㄨ〃鐜板眰鍜屼笟鍔″眰涔嬮棿浼犻掓暟鎹噺灝戝弬鏁扮殑鏂規(guī)硶 http://www.aygfsteel.com/liuzheng/articles/147127.html鍒橀摦 鍒橀摦 Fri, 21 Sep 2007 07:32:00 GMT http://www.aygfsteel.com/liuzheng/articles/147127.html http://www.aygfsteel.com/liuzheng/comments/147127.html http://www.aygfsteel.com/liuzheng/articles/147127.html#Feedback 0 http://www.aygfsteel.com/liuzheng/comments/commentRss/147127.html http://www.aygfsteel.com/liuzheng/services/trackbacks/147127.html
渚嬪錛?br />
var parm = '<%=infotype%>'+'@'+'<%=pos%>'+'@'+'<%=arrivetime%>'+'@'+'<%=messageid%>'+'@'+<%=stlist%>
document.all.form[0].action="/XXX.do?"+"parm"=parm
鏈鍚庤В鏋愮殑鏃跺欎負
String parm = request.getParameter("parm");
String [] par = parm.split("@");
榪欐牱渚垮彲浠ュ緱鍒板涓弬鏁板唴瀹逛簡
]]> jsp欏甸潰瀹氭椂鍒鋒柊鐨勬柟娉?/title> http://www.aygfsteel.com/liuzheng/articles/146739.html鍒橀摦 鍒橀摦 Thu, 20 Sep 2007 03:52:00 GMT http://www.aygfsteel.com/liuzheng/articles/146739.html http://www.aygfsteel.com/liuzheng/comments/146739.html http://www.aygfsteel.com/liuzheng/articles/146739.html#Feedback 0 http://www.aygfsteel.com/liuzheng/comments/commentRss/146739.html http://www.aygfsteel.com/liuzheng/services/trackbacks/146739.html
function init(){
var t=120; //瀹氫箟鍒鋒柊棰戠巼錛屽崟浣嶏細縐?br />
var t1 = t * 1000;
window.setInterval("refreshY()",t1);錛嶏紞錛嶏紞錛嶈繖閲岀殑t1涓烘縐?br />
}
function refreshY()
{
document.forms[0].action=<select:link page="/sysmain.do?method=init_head" />;
document.forms[0].submit();
}
鐒跺悗<body onload="init()">
榪欐牱灝卞彲浠ヨ揪鍒板鏁翠釜欏甸潰鐨勫埛鏂?br />
2.鍒╃敤
<%
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<meta http-equiv="refresh" content="1;url=<%=basePath%>again.do?method=init">
涔熷彲浠ュ欏甸潰鐨勫埛鏂般錛嶏紞錛嶏紞榪欓噷鐨?涓虹
]]>
主站蜘蛛池模板:
泸水县 |
禹州市 |
潢川县 |
清河县 |
祁阳县 |
喀喇 |
江北区 |
赞皇县 |
红桥区 |
柞水县 |
长治县 |
芜湖县 |
轮台县 |
晴隆县 |
龙门县 |
上蔡县 |
开封县 |
石景山区 |
策勒县 |
吉安县 |
砀山县 |
江口县 |
长岛县 |
关岭 |
甘泉县 |
冷水江市 |
容城县 |
湖北省 |
汪清县 |
怀化市 |
香格里拉县 |
普安县 |
楚雄市 |
龙江县 |
沈阳市 |
绥芬河市 |
无棣县 |
乳山市 |
上高县 |
桐柏县 |
海盐县 |