锘??xml version="1.0" encoding="utf-8" standalone="yes"?>免费黄色在线视频网站,日韩三级av,成人免费淫片视频软件http://www.aygfsteel.com/xiaochao/zh-cnThu, 19 Jun 2025 12:29:25 GMTThu, 19 Jun 2025 12:29:25 GMT60logback.xml鍦ㄧ嚎鐢熸垚鍣?/title><link>http://www.aygfsteel.com/xiaochao/archive/2010/01/04/308175.html</link><dc:creator>灝忚秴</dc:creator><author>灝忚秴</author><pubDate>Mon, 04 Jan 2010 06:54:00 GMT</pubDate><guid>http://www.aygfsteel.com/xiaochao/archive/2010/01/04/308175.html</guid><wfw:comment>http://www.aygfsteel.com/xiaochao/comments/308175.html</wfw:comment><comments>http://www.aygfsteel.com/xiaochao/archive/2010/01/04/308175.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.aygfsteel.com/xiaochao/comments/commentRss/308175.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/xiaochao/services/trackbacks/308175.html</trackback:ping><description><![CDATA[<p>RT錛氬湴鍧錛?a >http://wizardforge.org/wc?action=getForm&ticket=n4XAc894WYtvDu7EIQEIEgiZyRFIhNAU</a>  </p> <p>涓婇潰鍦板潃澶辨晥涓嬮潰榪欎釜鍦板潃鍙互鐢紝</p> <p>淇涓嬪湴鍧錛?a target="_blank">http://wizardforge.org/pc?action=displayFlowchartVersionPublic&id=42</a></p> <img src ="http://www.aygfsteel.com/xiaochao/aggbug/308175.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/xiaochao/" target="_blank">灝忚秴</a> 2010-01-04 14:54 <a href="http://www.aygfsteel.com/xiaochao/archive/2010/01/04/308175.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>jsTree ajax浣跨敤鏂規(guī)硶http://www.aygfsteel.com/xiaochao/articles/307792.html灝忚秴灝忚秴Wed, 30 Dec 2009 08:43:00 GMThttp://www.aygfsteel.com/xiaochao/articles/307792.htmlhttp://www.aygfsteel.com/xiaochao/comments/307792.htmlhttp://www.aygfsteel.com/xiaochao/articles/307792.html#Feedback12http://www.aygfsteel.com/xiaochao/comments/commentRss/307792.htmlhttp://www.aygfsteel.com/xiaochao/services/trackbacks/307792.html闃呰鍏ㄦ枃

灝忚秴 2009-12-30 16:43 鍙戣〃璇勮
]]>
org.hibernate.MappingException: Unknown entity甯歌闂(鏂版墜闇娉ㄦ剰)http://www.aygfsteel.com/xiaochao/articles/hibernatetopic.html灝忚秴灝忚秴Thu, 26 Mar 2009 06:38:00 GMThttp://www.aygfsteel.com/xiaochao/articles/hibernatetopic.htmlhttp://www.aygfsteel.com/xiaochao/comments/262116.htmlhttp://www.aygfsteel.com/xiaochao/articles/hibernatetopic.html#Feedback27http://www.aygfsteel.com/xiaochao/comments/commentRss/262116.htmlhttp://www.aygfsteel.com/xiaochao/services/trackbacks/262116.html鏈榪戝涔?fàn)Hiberante Annotations鏃墮亣鍒頒簡璇ラ棶棰榦rg.hibernate.MappingException: Unknown entity鍦╞aidu鍜実oogl涓婃悳瀵諱簡 寰堜箙涔熸病鏈夋壘鍒伴傚悎鎴戠殑瑙e喅鏂規(guī)硶,鏈鍚庡彂鐜版槸import Entity綾婚犳垚鐨?浣跨敤Eclipse鑷姩鎻愮ず瀵煎叆鐨勮鍖?

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import org.hibernate.annotations.Entity;//榪欐槸灝卞嚭闂浜嗗摝

@Entity
@Table(name
="test_person")
public class Person implements Serializable

鍚庨潰淇敼浜嗗紩鍏ョ殑Entity

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Entity;//寮曞叆榪欎釜綾誨氨姝g‘浜?/span>

@Entity
@Table(name
="test_person")
public class Person implements Serializable

鍙﹀鏈変簺鎶rg.hibernate.MappingException: Unknown entity,鍙兘鏄病鏈夊湪cfg鏂囦歡涓姞鍏?*.hbm.xml閫犳垚鐨?/p>

灝忚秴 2009-03-26 14:38 鍙戣〃璇勮
]]>
褰揂JAX閬囦笂Historyhttp://www.aygfsteel.com/xiaochao/articles/ajax_history.html灝忚秴灝忚秴Tue, 03 Jun 2008 02:09:00 GMThttp://www.aygfsteel.com/xiaochao/articles/ajax_history.htmlhttp://www.aygfsteel.com/xiaochao/comments/205491.htmlhttp://www.aygfsteel.com/xiaochao/articles/ajax_history.html#Feedback1http://www.aygfsteel.com/xiaochao/comments/commentRss/205491.htmlhttp://www.aygfsteel.com/xiaochao/services/trackbacks/205491.html褰撴垜浠湪浣跨敤ajax鏃墮氬父浼氶亣鍒頒嬌鐢╤istory.back()鎴杊istory.go(-1)鐨勬儏鍐?榪欐牱鍦ㄨ繑鍥瀉jax欏甸潰鏃墮氬父浼氭椂ajax鐨勬暟鎹涪澶?涓嶆槸浣犳渶鍚庝竴嬈¢夋嫨鐨刟jax鏁版嵁);榪欑鎯呭喌涓嬫垜浠渶瑕佷繚瀛榓jax鐨勫弬璁╁叾鑳藉湪history.back()涓搗鍒頒綔鐢?鏄ㄥぉ鏅氫笂璇曚簡寰堝鏂規(guī)硶閮戒笉琛?榪欎釜鏃跺欐垜浠氨闇瑕佸埄鐢╤istory.back()榪斿洖鐨勬槸涓婁竴涓摼鎺ョ殑鐗圭偣閫氳繃window.location.hash鏉ュ瓨鍦╝jax鎵鐢ㄥ埌鐨勫?涓嬮潰鏄唬鐮佽瘯渚?

function getSetMeal(obj)
{

 window.location.hash 
= obj.value;
 
var param = "test="+obj.value;
 
new Ajax("test.do",{method:'post',onComplete:setMainSuit}).request(param);
  
}


鍦ㄩ〉闈㈡椂璋冪敤鏃?br />

<script>
     
var first = "$!{first}"||-1;
     
var hash=window.location.hash;
     
if(hash!="")
     {
      
//榪欓噷鐨勫弬鏁拌В鏋愪綘鍙互鐢ㄨ嚜宸辯殑鏂規(guī)硶瀹炵幇;
        var str = hash.replace('#','');
        
var obj=new Object();
        obj.value
=str;
        getSetMeal(obj);
     }
     
else if(first!=-1)
     {
       
var obj=new Object();
        obj.value
=first;
        getSetMeal(obj);
     }
</script>


涓嬮潰鍦ㄤ粙緇嶄竴縐嶆儏鍐電殑瑙e喅鍔炴硶,褰撲綘鐨刟jax欏甸潰榪樻湁榪斿洖涓婁竴涓〉闈㈡椂,濡傛灉浣犱嬌鐢ㄤ簡hash瀛樺肩殑鍋氭硶閭d箞鍦ㄤ嬌鐢╤istory.go(-n)鏃舵槸涓嶅ソ鎺у埗鐨?榪欐椂鎴戜滑闇瑕佷嬌鐢╤istory.go(string)鐨勬柟娉曞噯紜殑璇存槸history.go(url)璇存槑涓婃槸榪斿洖鏈榪戠殑閾炬帴鍖呭惈鐨勪覆,涓嶈繃鎴戜嬌鐢ㄤ覆娌℃湁璧蜂綔鐢ㄥ彧鏈変嬌鐢╱rl;浠g爜濡備笅:

 1 function back()
 2  {
 3    var domain=window.location.host;
 4    var protocol=window.location.protocol;
 5    //榪欎釜url鏄氳繃request.getHeader("Referer");鏉ヨ幏鍙栫殑
 6    var url = "$!{url}"||"-1";
 7    //榪欐牱鏄繑鍥炲浐瀹氱殑榪欐牱涓嶅ソ
 8    //history.go(protocol+"http://"+domain+"/test1.do");
 9    history.go(url);
10 
11  }
12 


灝忚秴 2008-06-03 10:09 鍙戣〃璇勮
]]>
javascript cookie鎿嶄綔http://www.aygfsteel.com/xiaochao/articles/cookie.html灝忚秴灝忚秴Wed, 12 Mar 2008 01:15:00 GMThttp://www.aygfsteel.com/xiaochao/articles/cookie.htmlhttp://www.aygfsteel.com/xiaochao/comments/185553.htmlhttp://www.aygfsteel.com/xiaochao/articles/cookie.html#Feedback0http://www.aygfsteel.com/xiaochao/comments/commentRss/185553.htmlhttp://www.aygfsteel.com/xiaochao/services/trackbacks/185553.html浠g爜濡備笅錛?br />

var Cookie = {
        get : 
function(name){
                
var value = "";
                
var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
        
if(arr != null) { value=unescape(arr[2]); }
        
return value;
        },
        set : 
function(name,value,days){
                
if(isNaN(days)){
                        document.cookie
=name + "=" + escape(value) + ";";
                }
else{
                        document.cookie
=name + "=" + escape(value) + ";expires="+new Date(new Date().getTime() + days*86400000).toGMTString();
                }
        },
        del : 
function(name){
                document.cookie
=name + "=;expires="+new Date().toGMTString();
        }
}

闄勫甫涓涓棩鏈熸牸寮忓寲鏂規(guī)硶錛?br />

/*
 *瀵筪ate瀵硅薄澧炲姞format鏂規(guī)硶,鍙互鑾峰彇褰撳墠鏃墮棿鍒板璞?br />  *濡?
 *var date = new Date();
 *date.Format("YYYY-MM-DD HH:MI:SS");榪斿洖:2008-01-25 14:30:01;
 *date.Format("YYYY/MM/DD HH:MI:SS");榪斿洖:2008/01/25 14:30:01;
 *
*/

Date.prototype.Format
=function(str)
{
   
var year = this.getFullYear();
   
var month = (this.getMonth()+1)<10?"0"+(this.getMonth()+1):(this.getMonth()+1);
   
var day = this.getDate()<10?"0"+this.getDate():this.getDate();
   
var hour = this.getHours()<10?"0"+this.getHours():this.getHours();
   
var min = this.getMinutes()<10?"0"+this.getMinutes():this.getMinutes();
   
var sec = this.getSeconds()<10?"0"+this.getSeconds():this.getSeconds();
   tmp 
= str.replace("YYYY",year);
   tmp 
= tmp.replace("MM",month);
   tmp 
= tmp.replace("DD",day);
   tmp 
= tmp.replace("HH",hour);
   tmp 
= tmp.replace("MI",min);
   tmp 
= tmp.replace("SS",sec);
  
return tmp;
}


灝忚秴 2008-03-12 09:15 鍙戣〃璇勮
]]>
window.alert鏁堟灉 淇select bughttp://www.aygfsteel.com/xiaochao/articles/alert.html灝忚秴灝忚秴Wed, 12 Mar 2008 01:11:00 GMThttp://www.aygfsteel.com/xiaochao/articles/alert.htmlhttp://www.aygfsteel.com/xiaochao/comments/185550.htmlhttp://www.aygfsteel.com/xiaochao/articles/alert.html#Feedback0http://www.aygfsteel.com/xiaochao/comments/commentRss/185550.htmlhttp://www.aygfsteel.com/xiaochao/services/trackbacks/185550.html闃呰鍏ㄦ枃

灝忚秴 2008-03-12 09:11 鍙戣〃璇勮
]]>
struts2鏂囦歡涓嬭澆http://www.aygfsteel.com/xiaochao/articles/146968.html灝忚秴灝忚秴Fri, 21 Sep 2007 01:32:00 GMThttp://www.aygfsteel.com/xiaochao/articles/146968.htmlhttp://www.aygfsteel.com/xiaochao/comments/146968.htmlhttp://www.aygfsteel.com/xiaochao/articles/146968.html#Feedback5http://www.aygfsteel.com/xiaochao/comments/commentRss/146968.htmlhttp://www.aygfsteel.com/xiaochao/services/trackbacks/146968.htmlstruts2 鏂囦歡涓嬭澆綾繪槸寰堢畝鍗曠殑,浠g爜:

 1 package test.filedown
 2 
 3 import java.io.InputStream;
 4 import com.forlink.wps.template.dao.TemplateJackrabbitDao;
 5 import com.forlink.wps.template.dao.impl.TemplateJackrabbitDaoImpl;
 6 import com.forlink.wps.template.dto.TemplateDTO;
 7 import com.opensymphony.xwork2.ActionSupport;
 8 
 9 public class FileDownloadAction extends ActionSupport
10 {
11 
12     private String    inputPath;
13 
14     private String    contentType;
15     
16     private String filename;
17     
18 
19     public InputStream getInputStream() throws Exception
20     {
21         return ServletActionContext.getServletContext().getResourceAsStream(inputPath);
22 
23     }
24 
25     public String execute() throws Exception
26     {
27         inputPath="/image/close_w.gif";//瑕佷笅杞界殑鏂囦歡鍚嶇О
28         filename="test.gif"//淇濆瓨鏂囦歡鏃剁殑鍚嶇О
29         contentType="image/gif";//淇濆瓨鏂囦歡鐨?/span>
30             return SUCCESS;
31     }
32 
33 
34     public String getContentType()
35     {
36         return contentType;
37     }
38 
39     public void setContentType(String contentType)
40     {
41         this.contentType = contentType;
42     }
43 
44     public String getFilename()
45     {
46         return filename;
47     }
48 
49     public void setFilename(String filename)
50     {
51         this.filename = filename;
52     }
53 }
54 
涓昏鏄湪Action鐨勯厤緗笂,閰嶇疆鏂囦歡濡備笅:
<action name="filedownload"
            class
="test.filedown.FileDownloadAction">
            
<result name="success" type="stream">
                
<param name="contentType">${contentType}</param>
                
<param name="inputName">inputStream</param>                
                
<param name="bufferSize">4096</param>
                
<param name="contentDisposition">filename="${filename}"</param>
                
<param name=""></param>
            
</result>
</action>


灝忚秴 2007-09-21 09:32 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 上栗县| 奉新县| 通化市| 汽车| 邵武市| 郎溪县| 丹寨县| 阿荣旗| 慈利县| 定州市| 丰都县| 敦煌市| 吴旗县| 榆林市| 彭水| 凤冈县| 湟源县| 武义县| 永泰县| 香河县| 沂源县| 林州市| 清流县| 建平县| 客服| 黔东| 临武县| 龙井市| 佛学| 南丰县| 格尔木市| 阳春市| 普兰店市| 崇信县| 友谊县| 石阡县| 和政县| 克什克腾旗| 澄迈县| 屏边| 特克斯县|