锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久亚洲精品蜜桃臀,亚洲网红精品大秀在线观看,亚洲熟伦熟女专区hd高清http://m.tkk7.com/pdw2009/category/13411.htmlJ2EE鐩稿叧搴旂敤鎶鏈棩蹇?/description>zh-cnFri, 07 Mar 2008 13:45:53 GMTFri, 07 Mar 2008 13:45:53 GMT60dwr+springhttp://m.tkk7.com/pdw2009/archive/2008/03/07/184454.html鏈夌尗鐩鎬即鐨勬棩瀛?/dc:creator>鏈夌尗鐩鎬即鐨勬棩瀛?/author>Fri, 07 Mar 2008 03:40:00 GMThttp://m.tkk7.com/pdw2009/archive/2008/03/07/184454.htmlhttp://m.tkk7.com/pdw2009/comments/184454.htmlhttp://m.tkk7.com/pdw2009/archive/2008/03/07/184454.html#Feedback0http://m.tkk7.com/pdw2009/comments/commentRss/184454.htmlhttp://m.tkk7.com/pdw2009/services/trackbacks/184454.html鍞竴涓嶅悓鐨勫氨鏄痙wr.xml鏂囦歡涓殑閰嶇疆涓嶅悓.鍙備笌濡備笅渚嬪瓙

<?xml version="1.0" encoding="UTF-8"?>   
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 1.0//EN" 
    "http://www.getahead.ltd.uk/dwr/dwr10.dtd"
> 
<dwr>
    
<allow>
        
<create creator="spring" javascript="GISInterfaceService">
            
<param name="beanName" value="gisInterfaceService"/>
        
</create>
        
</allow>
</dwr>


]]>
dwr瀹炰緥http://m.tkk7.com/pdw2009/archive/2007/10/19/154218.html鏈夌尗鐩鎬即鐨勬棩瀛?/dc:creator>鏈夌尗鐩鎬即鐨勬棩瀛?/author>Fri, 19 Oct 2007 07:10:00 GMThttp://m.tkk7.com/pdw2009/archive/2007/10/19/154218.htmlhttp://m.tkk7.com/pdw2009/comments/154218.htmlhttp://m.tkk7.com/pdw2009/archive/2007/10/19/154218.html#Feedback0http://m.tkk7.com/pdw2009/comments/commentRss/154218.htmlhttp://m.tkk7.com/pdw2009/services/trackbacks/154218.html闃呰鍏ㄦ枃

]]>
DWR瀛︿範鎽樿http://m.tkk7.com/pdw2009/archive/2007/07/26/132565.html鏈夌尗鐩鎬即鐨勬棩瀛?/dc:creator>鏈夌尗鐩鎬即鐨勬棩瀛?/author>Thu, 26 Jul 2007 08:01:00 GMThttp://m.tkk7.com/pdw2009/archive/2007/07/26/132565.htmlhttp://m.tkk7.com/pdw2009/comments/132565.htmlhttp://m.tkk7.com/pdw2009/archive/2007/07/26/132565.html#Feedback1http://m.tkk7.com/pdw2009/comments/commentRss/132565.htmlhttp://m.tkk7.com/pdw2009/services/trackbacks/132565.htmlDWR鐨勪嬌鐢ㄧ粡楠?   

   1.. 闇瑕乯dom.jar鍜宐sf.jar,鍚﹀垯鏃犳硶璺焥pring鏁村悎.

      2.. dwr鐢熸垚鐨刯avascript鍑芥暟浼氳嚜鍔ㄥ姞涓涓洖璋冨嚱鏁扮殑鍙傛暟,濡傚師鏉ョ殑鍑芥暟鏄痗heckExist(String name),閭d箞鐢熸垚鐨刯avascript鍑芥暟鏄痗heckExist(callbackFunc,String name).

      3.. 娉ㄦ剰鍥炶皟鍑芥暟鍙兘鏈変竴涓弬鏁?灝辨槸鏈嶅姟鍣ㄧ殑榪斿洖鍊?濡俧unction(messFromServer),榪欓噷messFromServer鏄鎿嶄綔鍦ㄦ湇鍔″櫒涓婄殑榪斿洖鍊?

      4.. util.js閲岄潰鏈夊緢澶氭湁鐢ㄧ殑鏂規硶,鏈濂界啛鎮変竴涓?

      5.. convert騫朵笉鏄繀欏葷殑,鍙湁浣犵殑鍑芥暟闇瑕佷紶閫掗潪鍩烘湰鏁版嵁綾誨瀷鐨勬暟鎹椂闇瑕佹欏?
      鎴戦渶瑕佸寮虹殑,dom鎿嶄綔,javascript

 

DWR collection converter 浣跨敤鎽樿

<convert converter="collection" match="java.util.Collection"/>浣嗘槸涓嶇煡閬撴庝箞鐢紝浠?Java Object 錛嶏紞> Javascript Object 闂涓嶅ぇ錛屾湁鐜版垚鐨勪緥瀛愬彲渚涘弬鑰?錛氾級錛屽氨鏄?Java function 榪斿洖涓涓狢ollection錛岀湅浜嗕竴涓嬭繑鍥炲煎湪 javascript 涓槸鐨勫艦寮忔槸涓涓猳bject Array鐒跺悗鍦?javascript 鍙栧嚭姣忎竴涓?Object鐨?property (eg. object.id , objecct.name....)
涓嬮潰鏄竴涓簲鐢ㄥ疄渚嬶紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞DWR.XML------------------------------

<dwr>   
<allow>      
  <convert converter="bean" match="dwr.sample.Apartment"/>      
  <create creator="new" javascript="ApartmentDAO" class="dwr.sample.ApartmentDAO">           
 <include method="findApartments"/>           
 <include method="countApartments"/>           
 <include method="addApartment"/>           
<include method="addApartments"/>           
<include method="addApartments2"/>       
</create>       
<create creator="spring"   javascript="ApartmentDAO"  >       
</create> 
 </allow>   
<signatures>    
<![CDATA[import java.util.*;    
import dwr.sample.*;   
  ApartmentDAO.addApartments(List<Apartment>);    
ApartmentDAO.addApartments2(Map<String,Apartment>); 
 ]]>   
  </signatures>
</dwr>
濡傛灉浼犲 java 鐨勪唬鐮佺殑鍙傛暟 鏄竴涓?Collection 錛屽垯瑕佺◢寰鐞嗕互涓嬶紝鍏堢収涓婇潰 榛戜綋瀛?鐨勫0鏄庝互涓嬩紶鍏ョ殑Collection鐨勫唴閮ㄥ寘鍚殑綾葷殑 紜垏綾誨瀷錛屼互渚?Java 浠g爜 浣滃嚭鍒ゆ柇錛涘鏋滀紶鍏ョ殑鍙傛暟鏄竴涓?List錛屽垯鍦?Javascript 涓妸榪欎簺瀵硅薄鏀懼湪 涓涓狝rray涓氨鍙互浜嗭紝濡傛灉浼犲叆鐨勫弬鏁版槸涓涓狹ap錛屽師鏉ヤ互涓烘槸涓涓?浜岀淮鐨?Array灝辮浜嗭紝浣嗘槸璇曡繃涔嬪悗鍙戠幇涓嶈錛岀湅浜嗕竴涓嬩緥瀛愶紝鍘熸潵瑕佷嬌鐢ㄨ繖縐嶅艦寮忥細  var depts={ "dept1":new department("2", "200"),"dept2":new department("3", "300") };榪欐牱浼犺繘鍘諱箣鍚?Java 灝變細鏍規嵁 榪欎簺 鏁版嵁鏋勫緩 涓涓狹ap錛?

 



]]>
dwr2涓巗truts2鏁村悎http://m.tkk7.com/pdw2009/archive/2007/07/23/131857.html鏈夌尗鐩鎬即鐨勬棩瀛?/dc:creator>鏈夌尗鐩鎬即鐨勬棩瀛?/author>Mon, 23 Jul 2007 05:20:00 GMThttp://m.tkk7.com/pdw2009/archive/2007/07/23/131857.htmlhttp://m.tkk7.com/pdw2009/comments/131857.htmlhttp://m.tkk7.com/pdw2009/archive/2007/07/23/131857.html#Feedback1http://m.tkk7.com/pdw2009/comments/commentRss/131857.htmlhttp://m.tkk7.com/pdw2009/services/trackbacks/131857.html

杞嚜浜?http://swimren.javaeye.com/blog/98186

鍏抽敭瀛? DWR       

鏈榪戝彂鐜癲wr鍑轟簡2.0鐗堟湰錛岄噷闈㈡彁渚涗簡涓庣洰鍓嶄竴浜涗富嫻佹鏋剁殑鏁村悎錛屽Spring,JSF,Hibernate,Struts1,Webwork絳夛紝浣哠truts2.0榪樻病鏈夋彁渚涳紝鐢變簬鐜板湪鐨勯」鐩垜浠噰鐢ㄧ殑鏄疭truts2.0錛屾墍浠ュ弬鑰僤wr涓巜ebwork鐨勬暣鍚堜唬鐮侊紝淇敼瀹屾垚浜?br>dwr涓嶴truts2鐨勬暣鍜屼唬鐮?/font>

1銆侀鍏堜笅杞紻wr2鐨勬簮浠g爜錛屽皢 org\directwebremoting\webwork涓嬬殑綾繪嫹鍑烘潵錛屾斁鍒?鏂板緩鐨勪竴涓寘
   姣斿 org.dwr.struts2 閲岋紝鎺ヤ笅鍘誨氨鍙互鍘諱慨鏀歸噷闈㈢殑浠g爜錛?br>    灝嗙被鐨勫紩鐢ㄩ兘淇敼涓轟粠struts2鐨勫寘涓紩鐢ㄣ?br>2銆佹帴涓嬪幓鍏抽敭鏄慨鏀?DWRAction.java榪欎釜綾?br>   鍦ㄨ綾諱腑 姣旇緝鐗規畩鐨勬槸
   com.opensymphony.webwork.dispatcher.DispatcherUtils
瀵瑰簲鐨剆truts2涓殑  org.apache.struts2.dispatcher.Dispatcher榪欎釜綾?br>  ServletActionContext.WEBWORK_VALUESTACK_KEY  瀵瑰簲 ServletActionContext.STRUTS_VALUESTACK_KEY

3銆佷慨鏀歸噷闈㈢殑 private DWRAction(ServletContext servletContext) 鏋勯犲嚱鏁頒負

java 浠g爜
  1. private DWRAction(ServletContext servletContext) throws ServletException   
  2.     {   
  3.        // Dispatcher.initialize(servletContext);   
  4.         m_wwDispatcher = Dispatcher.getInstance();   
  5.         if(m_wwDispatcher==null)   
  6.         {   
  7.            m_wwDispatcher = new Dispatcher(servletContext, new HashMap());   
  8.            m_wwDispatcher.init();   
  9.            Dispatcher.setInstance(m_wwDispatcher);   
  10.         }   
  11.            
  12.         m_actionProcessor = loadActionProcessor(servletContext.getInitParameter         (DWRACTIONPROCESSOR_INIT_PARAM));   
  13.     }   

鐒跺悗淇敼protected ActionInvocation invokeAction 鏂規硶 灝嗙126琛岀殑浠g爜

java 浠g爜
  1. ActionProxy proxy = ActionProxyFactory.getFactory().createActionProxy(actionDefinition.getNamespace(), actionDefinition.getAction(), extraContext, actionDefinition.isExecuteResult(), false);   

鏇挎崲涓轟互涓嬩唬鐮?/font>

java 浠g爜

 

  1. Configuration config = du.getConfigurationManager().getConfiguration();   
  2.             ActionProxy proxy = config.getContainer().getInstance(ActionProxyFactory.class).createActionProxy(   
  3.                     mapping.getNamespace(), mapping.getName(), extraContext, actionDefinition.isExecuteResult(), false);   

鏈鍚庡皢 protected void prepareContinuationAction(HttpServletRequest request, Map extraContext)
 閲岀殑浠g爜閮芥敞閲婃帀 灝卞彲浠ヤ簡

4錛屼慨鏀?DWRActionUtil.js鏂囦歡灝嗛噷闈㈢殑webwork瀛楁牱閮芥浛鎹負 struts2,涔熷彲浠ヤ笉鐢ㄤ慨鏀癸紝涓嶈繃瑙夊緱涓嶇埥灝辨槸浜?br>  鐒跺悗灝卞彲浠ユ寜鐓т笌webwork鏁村拰鐨勬柟寮忛厤緗甦wr.xml灝卞彲浠ヤ簡

 

鏈鍚庢湁涓鐐瑰緢閲嶈,灝辨槸鍦?web.xml鏂囦歡涓厤緗瓺wrServlet 鐨勬椂鍊欎竴瀹氳鍔犱笂 
     exposeInternals
     true
      

榪欎釜鍙傛暟,鍚﹀垯鐢熸垚鐨?DWRAction.js 榪欎釜鏂囦歡灝嗕笉瀛樺湪 DWRAction.execute(actionObj, params, callbackObj) 榪欎釜鍑芥暟,榪欎釜闂鎶樼(浜嗘垜榪戝崐澶╃殑鏃墮棿鍟?

濡傛灉闇瑕佸彲浠ユ彁渚涗唬鐮佷笂鏉?涓嶈繃鏈濂借繕鏄緩璁ぇ瀹朵翰鑷幓淇敼涓涓嬫瘮杈冨ソ.


鏈鍚庢洿鏂幫細2007-07-07 11:10
17:17  |   姘鎬箙閾炬帴  |   嫻忚 (994)  |   璇勮 (5)  |    鏀惰棌  |   AJAX  |   榪涘叆璁哄潧  |  
璇勮    鍏?5 鏉? 鍙戣〃璇勮
totodo     2007-07-05 20:35

鍏跺疄 錛孲ervlet閭e眰錛屽彲浠ユ墧鎺変簡銆?/p>

涓嶈鍦ㄥ啀Web灞傝繕鐢?XX+XX銆?/p>

swimren     2007-07-06 08:23

瀵?閲囩敤dwr,鍙互鐩存帴鍘昏闂笟鍔″眰,涓嶇敤閲囩敤Struts 涔嬬被鐨?浣嗘湁浜涙椂鍊欒繕闇瑕佹帶鍒跺眰,鍦ㄤ釜鍒殑鍦版柟鐨勪嬌鐢╠wr鍘昏皟鐢?涓ょ緇撳悎鐫灝辨瘮杈冨ソ浜?

movingboy     2007-07-07 00:06

璇鋒暀妤間富錛?/p>

1.鎴戠幇鍦ㄥ湪璇曠敤AppFuse 2.0-M5錛屾垜灝濊瘯浜嗗畠鑷甫鐨凞WR 2.0.1鍜孲truts 2.0.6錛屽湪瀹㈡埛绔兘澶熸紜湴璋冪敤Struts action鐨勬柟娉曞茍榪斿洖鏁版嵁銆傛垜鐪嬩簡DWRAction.java鐨勪唬鐮侊紝紜疄鏄薄浣犳彁鍒扮殑鏀瑰姩鍓嶇殑鏍峰瓙錛屼絾鎴戞病鍋氫換浣曟敼鍔ㄣ傛垜鎯抽棶涓涓嬩綘鏀瑰姩榪欎釜綾葷殑鐩殑鏄粈涔堝憿錛熶笉鏀瑰姩浼氭湁浠涔堥棶棰樺憿錛?/p>

2.浣犲湪鏂囦腑鎻愬埌錛?/p>

寮曠敤
鏈鍚庢湁涓鐐瑰緢閲嶈,灝辨槸鍦?web.xml鏂囦歡涓厤緗瓺wrServlet 鐨勬椂鍊欎竴瀹氳鍔犱笂
exposeInternals
true

 

鎴戠殑web.xml娌℃湁璁劇疆榪欎竴欏廣傚鏋滄病鏈夌敓鎴怐WRAction.execute(actionObj, params, callbackObj) 錛屼細鏈変粈涔堥棶棰樺憿錛?/p>

闄勪笂鎴戠殑渚嬪瓙浣滀負鍒嗘瀽鍙傝冿細
dwr.xml鐨勯厤緗細

浠g爜
  1. <!DOCTYPE dwr PUBLIC   
  2.     "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN"   
  3.     "http://getahead.ltd.uk/dwr/dwr20.dtd">  
  4. <dwr>  
  5.     <allow>  
  6.         <create creator="spring" javascript="inquiryMasterAction">  
  7.             <param name="class" value="cn.net.cogent.summer.webapp.action.InquiryMasterAction"/>  
  8.             <param name="beanName" value="inquiryMasterAction"/>  
  9.             <include method="getDetailsByMasterId"/>  
  10.         </create>  
  11.         <convert converter="bean" match="cn.net.cogent.summer.model.InquiryDetail"/>  
  12.     </allow>  
  13. </dwr>  

 

鍏朵腑InquiryMasterAction鐨刧etDetailsByMasterId鏂規硶鐨凧ava浠g爜涓猴細

浠g爜
  1. public List<InquiryDetail> getDetailsByMasterId(Long masterId);  

 

鐢熸垚鐨刬nquiryMasterAction.js鐨勫唴瀹癸細

浠g爜
  1. // Provide a default path to dwr.engine   
  2. if (dwr == null) var dwr = {};   
  3. if (dwr.engine == null) dwr.engine = {};   
  4. if (DWREngine == null) var DWREngine = dwr.engine;   
  5.   
  6. if (inquiryMasterAction == null) var inquiryMasterAction = {};   
  7. inquiryMasterAction._path = '/dwr';   
  8. inquiryMasterAction.getDetailsByMasterId = function(p0, callback) {   
  9.   dwr.engine._execute(inquiryMasterAction._path, 'inquiryMasterAction', 'getDetailsByMasterId', p0, callback);   
  10. }   

 

鍦↗SP欏甸潰涓彧闇瑕佽皟鐢細

浠g爜
  1. <script type='text/javascript'>  
  2.   var masterId = 1;   
  3.   var result;   
  4.   inquiryMasterAction.getDetailsByMasterId(1, result);   
  5. </script>  

 

swimren     2007-07-07 10:57

to movingboy :

鎴戞病鏈夊叿浣撶殑鍘葷爺絀?AppFuse 2.0-M5鐨勬簮鐮侊紝涓嶈繃浠庝綘鐨勬弿榪頒腑鍙互鐪嬪嚭鏉ワ紝浣犵殑榪欑閰嶇疆鏂瑰紡涔熸槸鍙互姝e父宸ヤ綔鐨勩?
棣栧厛浣犳槸 鎶奍nquiryMasterAction 鐪嬩綔涓涓嫭绔嬬殑綾繪潵澶勭悊鐨勶紝涔熷氨鏄閽堝 InquiryMasterAction 鍗曠嫭鐢熸垚浜嗕竴涓?strong>inquiryMasterAction.js鏂囦歡錛岃屾柟娉昰etDetailsByMasterId 榪斿洖鐨勬槸浣犲疄闄呴渶瑕佺殑鏁版嵁銆傜劧鍚庡啀閫氳繃
inquiryMasterAction.getDetailsByMasterId(1, result); 鍘昏皟鐢ㄧ殑錛岃繖縐嶆柟寮忔槸DWR鏈鍒濈殑鏈綆鍗曟柟寮忋備綘鐨勪緥瀛愰噷瀹為檯涓婃槸娌℃湁鐢ㄥ埌 DWRAction.js榪欎釜鏂囦歡鍜?strong>DWRAction.java榪欎釜綾諱簡銆?
浣嗘槸鍦⊿truts2涓紝Action 涓殑鏂規硶鏄渶瑕佸叿浣撶殑榪斿洖涓涓猄tring綾誨瀷鐨?result,涔熷氨鏄畾浣嶅埌鍏蜂綋鐨勯〉闈㈡垨璺緞涓娿傝岄渶瑕佺殑鏁版嵁閮借鏀懼埌 ValueStack涓簡銆傛墍浠ユ暟鎹殑鍙栨硶灝變笉涓鏍蜂簡銆?
涓婇潰璇寸殑dwr2涓巗trut2鐨勬暣鍜岋紝涓昏鏄負浜嗕笉闇瑕佽皟鏁村師鏉ョ殑Action鐨勫啓娉曘傛墍鏈夌殑Action 鐨勮皟鐢ㄩ兘鍙互閫氳繃

浠g爜
  1. DWRActionUtil.execute({   
  2.   namespace:'/yournamespace',   
  3.   action:'yourAction',   
  4.   method:'yourMethod',   
  5.   executeResult:'true'   
  6. }, 'data', callBack);     

榪欑鏂瑰紡鍘昏皟鐢ㄥ氨鍙互浜?榪欎釜鏂規硶鏈緇堜細鍘昏皟鐢?DWRAction.js閲岀殑execute()鏂規硶銆傝繖縐嶆柟寮忔槸淇濈暀浜咥ction鐨勫師姹佸師鍛籌紝鎸夌収Struts2鐨勬満鍒跺幓澶勭悊鐨勩?
鍏蜂綋鐨勪綘鍙互鍙傝冧竴涓?dwr2鐨勬枃妗d腑 涓巜ebwork鏁村拰鐨勯儴鍒嗘垨鐫鍙傝冧笅闈㈢殑
http://wiki.javascud.org/display/dwrcn/WebWork+Integration?focusedCommentId=917506
涔熷彲浠?/td>


]]>
DWR璋冪敤http servlethttp://m.tkk7.com/pdw2009/archive/2006/11/21/82628.html鏈夌尗鐩鎬即鐨勬棩瀛?/dc:creator>鏈夌尗鐩鎬即鐨勬棩瀛?/author>Tue, 21 Nov 2006 15:01:00 GMThttp://m.tkk7.com/pdw2009/archive/2006/11/21/82628.htmlhttp://m.tkk7.com/pdw2009/comments/82628.htmlhttp://m.tkk7.com/pdw2009/archive/2006/11/21/82628.html#Feedback0http://m.tkk7.com/pdw2009/comments/commentRss/82628.htmlhttp://m.tkk7.com/pdw2009/services/trackbacks/82628.html 鎴戜滑鍦ㄥ疄闄呯殑 web 搴旂敤寮鍙戣繃紼嬩腑錛屽湪鐢ㄦ埛鐧誨綍鍚庝細鍚?/span> session 涓鍏ヤ竴浜涗俊鎭紙渚嬪鐢ㄦ埛淇℃伅錛岃彍鍗曚俊鎭瓑錛夛紝鍦ㄩ〉闈㈡彁浜ゅ悗錛屼細浠?/span> session 涓彇鍑鴻繖浜涗俊鎭紝鎷兼垚瀹屾暣鐨勪笟鍔¤褰曪紝淇濆瓨鍒版暟鎹簱涓傛鏃跺氨瑕佹眰 DWR 鍙互涓?/span> Servlet 瀵硅薄閫氫俊銆?/span>

鍏跺疄 DWR 宸茬粡鑰冭檻濂戒簡錛屽湪 DWR1.1 涓彲浠ュ埄鐢?/span> uk.ltd.getahead.dwr.WebContext 鍜?/span> uk.ltd.getahead.dwr.WebContextFactory 鏉ュ拰 Http Servlet 鐨勬爣鍑嗗璞¤繘琛岄氫俊錛屽寘鎷細

l聽聽聽聽聽聽聽聽 HttpServletRequest

l聽聽聽聽聽聽聽聽 HttpServletResponse

l聽聽聽聽聽聽聽聽 HttpSession

l聽聽聽聽聽聽聽聽 ServletContext

l聽聽聽聽聽聽聽聽 ServletConfig

聽鍏蜂綋璋冪敤鐨勬柟娉曞涓嬶細

import 聽javax.servlet.http.HttpServletRequest;聽

import 聽uk.ltd.getahead.dwr.WebContext;聽

import 聽uk.ltd.getahead.dwr.WebContextFactory;
聽import org.directwebremoting.WebContextFactory; //DWR2.0鏀規垚榪欐牱

// /聽

WebContext聽ctx聽
= 聽WebContextFactory.get();聽

HttpServletRequest聽req聽
= 聽ctx.getHttpServletRequest();聽
聽聽聽聽 WebContext 鏄嬌鐢?/span>ThreadLocal淇濆瓨鐨勶紝浣犲彲浠ョ湅涓涓?/span>uk.ltd.getahead.dwr.impl.DefaultWebContextBuilder婧愮爜錛屾墍浠ュ彲浠ュ湪浠諱綍鍦版柟浣跨敤瀹冿紝渚嬪鍦ㄤ笂涓綃囩殑demo涓繘琛屾祴璇曞涓嬶細
欏甸潰閲岀粰session璁劇疆鍊?br />
<%@聽page聽contentType="text/html;聽charset=GBK"%>

聽聽

<%

System.out.println(
"This聽is聽DWR聽servlet聽object!");聽

聽聽

session.setAttribute(
"dwr","love聽dwr");聽

%>
DWR瑕佽皟鐢ㄧ殑綾繪枃浠?br />
package聽test.dwr;聽

聽聽

import聽javax.servlet.http.HttpServletRequest;聽

聽聽

import聽uk.ltd.getahead.dwr.WebContext;聽

import聽uk.ltd.getahead.dwr.WebContextFactory;聽

聽聽

publicclass聽MessageDao聽{聽

聽聽聽聽
public聽Message聽save(Message聽message)聽{聽

聽聽

聽聽聽聽聽聽聽聽WebContext聽ctx聽
=聽WebContextFactory.get();聽

聽聽聽聽聽聽聽聽HttpServletRequest聽req聽
=聽ctx.getHttpServletRequest();聽

聽聽聽聽聽聽聽聽

聽聽

聽聽聽聽聽聽聽聽System.out.println(
"========HttpServletRequest聽Begin=======");聽

聽聽聽聽聽聽聽聽System.out.println(
"req:"+聽req.getRemoteHost());聽

聽聽聽聽聽聽聽聽System.out.println(
"req-session:"+聽req.getSession().getAttribute("dwr"));聽

聽聽聽聽聽聽聽聽System.out.println(
"text:"+聽req.getParameter("text"));聽

聽聽聽聽聽聽聽聽System.out.println(
"from:"+聽req.getParameter("from"));聽

聽聽聽聽聽聽聽聽System.out.println(
"=========HttpServletRequest聽End========");聽

聽聽

聽聽聽聽聽聽聽聽System.out.println(
"========Lucky聽DWR聽Begin=======");聽

聽聽聽聽聽聽聽聽System.out.println(
"text:"+聽message.getText());聽

聽聽聽聽聽聽聽聽System.out.println(
"from:"+聽message.getFrom());聽

聽聽聽聽聽聽聽聽System.out.println(
"=========Lucky聽DWR聽End========");聽

聽聽

聽聽聽聽聽聽聽聽
return聽message;聽

聽聽聽聽}聽

聽聽

聽聽聽聽
public聽Message聽get()聽{聽

聽聽聽聽聽聽聽聽
returnnew聽Message("This聽is聽the聽first聽dwr聽demo!",聽"test");聽

聽聽聽聽}聽

}聽


]]>
DWR瀵硅薄鏋勯?娣卞叆鍒嗘瀽dwr涓殑DWRUtil.getValues http://m.tkk7.com/pdw2009/archive/2006/11/21/82626.html鏈夌尗鐩鎬即鐨勬棩瀛?/dc:creator>鏈夌尗鐩鎬即鐨勬棩瀛?/author>Tue, 21 Nov 2006 14:38:00 GMThttp://m.tkk7.com/pdw2009/archive/2006/11/21/82626.htmlhttp://m.tkk7.com/pdw2009/comments/82626.htmlhttp://m.tkk7.com/pdw2009/archive/2006/11/21/82626.html#Feedback0http://m.tkk7.com/pdw2009/comments/commentRss/82626.htmlhttp://m.tkk7.com/pdw2009/services/trackbacks/82626.html聽/**
聽* Given a map, call getValue() for all the entries in the map using the entry key as an element id.
聽* Given a string or element that refers to a form, create an object from the elements of the form.
聽* @see http://getahead.ltd.uk/dwr/browser/util/getvalues
聽*/
DWRUtil.getValues = function(data) {

//瀹氫箟ele鍙橀噺錛?/span>
聽 var ele;
//濡傛灉ele鏄竴涓瓧絎︿覆閫氳繃 $鍑芥暟杞寲涓涓嬶紝$鍑芥暟鐨勪嬌鐢ㄨ鎴戠殑涓婁釜甯栧瓙娣卞叆鍒嗘瀽dwr涓殑DWRUtil.$
聽 if (typeof data == "string") ele = $(data);
//濡傛灉ele鏄釜HTML鍏冪礌瀵硅薄錛岄氬父搴旇鏄竴涓猣orm瀵硅薄
聽 if (DWRUtil._isHTMLElement(data)) ele = data;

聽if (ele != null) {
聽聽聽 //濡傛灉ele涓嶆槸form瀵硅薄錛岃繑鍥烇紝鍙湁form瀵硅薄鎵嶆湁elements 灞炴?/span>
聽聽聽 if (ele.elements == null) {
聽聽聽聽聽 alert("getValues() requires an object or reference to a form element.");
聽聽聽聽聽 return null;
聽聽聽 }
聽聽聽 //瀹氫箟涓涓┖瀵硅薄reply
聽聽聽 var reply = {};
聽聽聽 //瀹氫箟涓涓璞℃斁key
聽聽聽 var value;
聽聽聽 //閬嶅巻form,灝嗚〃鍗昸ey-value鏀懼叆reply錛屽拷鐣?lt;input type="image"/>
聽聽聽 for (var i = 0; i < ele.elements.length; i++) {
聽聽聽聽聽 if (ele[i].id != null) value = ele[i].id;
聽聽聽聽聽 else if (ele[i].value != null) value = ele[i].value;
聽聽聽聽聽 else value = "element" + i;
聽聽聽聽聽 reply[value] = DWRUtil.getValue(ele[i]);
聽聽聽 }
聽聽聽 return reply;
聽 }

//濡傛灉浼犲叆鐨勫弬鏁板璞′笉鏄〃鍗曞璞★紝閫氬父搴旇鏄笌棰嗗煙瀵硅薄瀵瑰簲js瀵硅薄
聽 else {
聽聽聽 //閬嶅巻瀵硅薄灞炴э紝灝嗕笌灞炴у搴旂殑欏甸潰鍏冪礌鍊兼嫹鍒癹s瀵硅薄涓?/span>
聽聽聽 for (var property in data) {
聽聽聽聽聽 // Are there any elements with that id or name
聽聽聽聽聽 if ($(property) != null || document.getElementsByName(property).length >= 1) {
聽聽聽聽聽聽聽 data[property] = DWRUtil.getValue(property);
聽聽聽聽聽 }
聽聽聽 }
聽聽聽 return data;
聽 }
};

鎬葷粨
1錛夊鏋滀綘闇瑕佷嬌鐢╝jax瀹屾垚琛ㄥ崟鎻愪氦鐨勬搷浣滐紝閭d箞浣犲簲璇ヤ嬌鐢―WRUtil.getValues錛屽弬鏁版垨鑰呮槸涓猣orm瀵硅薄錛屾垨鑰呮槸涓笌棰嗗煙瀵硅薄瀵瑰簲鐨刯s瀵硅薄
2錛夊簲璇ョ湅鍒扮浜岀鐢ㄦ硶鐨勫眬闄愭э紝濡傛灉瀛樺湪澶氫釜鐩稿悓鐨勮〃鍗曟垨鑰呮槸涓鍚堢殑js瀵硅薄錛岄偅涔堢浜岀鐢ㄦ硶鏄笉鍚堥傜殑
3錛夌涓縐嶇敤娉曠湅浼煎鏉傦紝浣嗘洿鍏風伒媧繪?/span>
鍒板簳鏀瑰浣曢夋嫨鍙栧喅浜庡叿浣撶殑搴旂敤
====================================================
聽鑳屾櫙錛氶渶瑕佷嬌鐢╝jax瀹屾垚琛ㄥ崟鎻愪氦鎿嶄綔

鏍稿績浠g爜濡備笅錛?br />

聽聽聽 function addReply(frm){

銆傘傘傘?/p>

//鍒╃敤dwr鑷姩灝?/span>frm鎻愪氦鐨勬暟鎹鍏?/span>js瀵硅薄,

//DWRUtil.getValues鐨勪嬌鐢ㄨ鎴戠殑涓婄瘒甯栧瓙

var commentForm = DWRUtil.getValues(frm);

//璋冪敤鏈嶅姟鍣ㄧ鐨勬湇鍔?/span>

CommentService.writeComment(writecallback,commentForm );

銆傘傘傘傘?br />}

娉ㄦ剰浠ヤ笅鍑犵偣

1錛変紶緇欐湇鍔$殑js瀵硅薄鏈濂戒弗鏍間笌棰嗗煙瀵硅薄瀵瑰簲涓嶈兘鏈塳ey涓?"鐨勫睘鎬у惁鍒欎細鎶ラ敊,鍙互鏈夊浣櫬?鐨勫睘鎬э紝浣嗗悗鍙頒細鍑虹幇涓浜涚儲浜烘棩蹇椾俊鎭憡璇変綘鏃犳硶鍖歸厤

2錛夊浜庨鍩熷璞℃潵璇達紝dwr鍦ㄨ漿鎹㈡椂浼氶亶鍘嗘墍鏈塯et鏂規硶錛堟牴鎹紶鍏ョ殑js瀵硅薄灞炴ц繘琛屽弽灝勪笉灝卞ソ浜嗭紝涓轟粈涔堣閬嶅巻get鏂規硶錛岀湡鏄鎬晩錛夛紝鎵浠ユ敞鎰忎綘鐨刧et鏂規硶瑕佸仴澹伩鍏嶅悗鍙頒細鍑哄緢澶氭棩蹇椾俊鎭眹鎶ョ┖鎸囬拡涔嬬被鐨勯敊璇?br />


3錛夊叧浜庢湰鍦頒紶閫掔殑js瀵硅薄錛屽繀欏葷粨鏋勪笌棰嗗煙瀵硅薄瀵瑰簲銆備粠鎶借薄鐨勮搴︾湅澶氭暟鎯呭喌棰嗗煙瀵硅薄瀹屄犅?鍏ㄥ彲浠ョ敤鏁扮粍鍜宧ash緇撴瀯鎻忚堪錛屼綍鍐墊墍璋撶殑瀵瑰簲鍙槸灞炴х殑瀵瑰簲錛屾墍浠ュ悎鐞嗙殑浣跨敤Array鍜孫bject瀹屽叏鍙互瀹炵幇js瀵硅薄鍜岄鍩熷璞$殑鍖歸厤

4錛夊繀欏婚厤緗悎閫傜殑杞寲鍣?/span>璁?/span>dwr鐭ラ亾濡備綍灝嗕綘浼犲叆鐨?/span>js瀵硅薄杞寲涓洪鍩熷璞?/span>

5錛変嬌鐢―WRUtil.getValues(frm)鎴栬匘WRUtil.getValues(obj)鏀墮泦鎻愪氦鐨勬暟鎹?/span>


聽聽 鏂瑰紡鐨勫尯鍒瑙佽鏂囦笂鍗婇儴鍒?/p>


]]>
DWR渚嬪瓙(杞嚜浜嶪BM 寮鍙戠ぞ鍖?http://m.tkk7.com/pdw2009/archive/2006/11/18/81952.html鏈夌尗鐩鎬即鐨勬棩瀛?/dc:creator>鏈夌尗鐩鎬即鐨勬棩瀛?/author>Sat, 18 Nov 2006 11:40:00 GMThttp://m.tkk7.com/pdw2009/archive/2006/11/18/81952.htmlhttp://m.tkk7.com/pdw2009/comments/81952.htmlhttp://m.tkk7.com/pdw2009/archive/2006/11/18/81952.html#Feedback0http://m.tkk7.com/pdw2009/comments/commentRss/81952.htmlhttp://m.tkk7.com/pdw2009/services/trackbacks/81952.html闃呰鍏ㄦ枃

]]>
XMLHttpRequest鐨勪竴綆鍗曚緥瀛?/title><link>http://m.tkk7.com/pdw2009/archive/2006/09/16/70049.html</link><dc:creator>鏈夌尗鐩鎬即鐨勬棩瀛?/dc:creator><author>鏈夌尗鐩鎬即鐨勬棩瀛?/author><pubDate>Sat, 16 Sep 2006 08:27:00 GMT</pubDate><guid>http://m.tkk7.com/pdw2009/archive/2006/09/16/70049.html</guid><wfw:comment>http://m.tkk7.com/pdw2009/comments/70049.html</wfw:comment><comments>http://m.tkk7.com/pdw2009/archive/2006/09/16/70049.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/pdw2009/comments/commentRss/70049.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/pdw2009/services/trackbacks/70049.html</trackback:ping><description><![CDATA[ <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">html</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">head</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">title</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000">Example聽1</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">title</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">script</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /> <br />聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽req;<br />聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽which;<br /><br />聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽retrieveURL(url)聽{<br />聽聽聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽(window.XMLHttpRequest)聽{聽</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">聽Non-IE聽browsers</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"> <br /> </span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽聽聽聽聽聽req聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">new</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽XMLHttpRequest();<br />聽聽聽聽聽聽req.onreadystatechange聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽processStateChange;<br />聽聽聽聽聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">try</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽{<br />聽聽聽聽聽聽聽聽req.open(</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">GET</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">,聽url,聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">true</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">);<br />聽聽聽聽聽聽}聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">catch</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽(e)聽{<br />聽聽聽聽聽聽聽聽alert(e);<br />聽聽聽聽聽聽}<br />聽聽聽聽聽聽req.send(</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">null</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">);<br />聽聽聽聽}聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">else</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽(window.ActiveXObject)聽{聽</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">聽IE</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"> <br /> </span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽聽聽聽聽聽req聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">new</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽ActiveXObject(</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">Microsoft.XMLHTTP</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">);<br />聽聽聽聽聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽(req)聽{<br />聽聽聽聽聽聽聽聽req.onreadystatechange聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽processStateChange;<br />聽聽聽聽聽聽聽聽req.open(</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">GET</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">,聽url,聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">true</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">);<br />聽聽聽聽聽聽聽聽req.send();<br />聽聽聽聽聽聽}<br />聽聽聽聽}<br />聽聽}<br /><br />聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽processStateChange()聽{<br />聽聽聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽(req.readyState聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">==</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">4</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)聽{聽</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">聽Complete</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"> <br /> </span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽聽聽聽聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽(req.status聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">==</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">200</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)聽{聽</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">聽OK聽response</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"> <br /> </span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽聽聽聽聽聽聽聽document.getElementById(</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">urlContent</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">).innerHTML聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽req.responseText;<br />聽聽聽聽聽聽}聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">else</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽{<br />聽聽聽聽聽聽聽聽alert(</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">Problem:聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">+</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽req.statusText);<br />聽聽聽聽聽聽}<br />聽聽聽聽}<br />聽聽}<br /><br /></span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">script</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">head</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">body</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">h1</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000">Example聽1</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">h1</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br />Simple聽URL聽retrieval聽and聽display.</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">hr</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">p聽</span> <span style="COLOR: #ff0000">align</span> <span style="COLOR: #0000ff">="right"</span> <span style="COLOR: #0000ff">><</span> <span style="COLOR: #800000">a聽</span> <span style="COLOR: #ff0000">href</span> <span style="COLOR: #0000ff">="home.do"</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000">Return聽home</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">a</span> <span style="COLOR: #0000ff">></</span> <span style="COLOR: #800000">p</span> <span style="COLOR: #0000ff">><</span> <span style="COLOR: #800000">br</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br />This聽example聽allows聽the聽user聽to聽enter聽a聽URL,聽which聽is聽then聽retrieved聽and<br />displayed聽in聽a聽</span> <span style="COLOR: #ff0000">&lt;</span> <span style="COLOR: #000000">span</span> <span style="COLOR: #ff0000">&gt;</span> <span style="COLOR: #000000">.聽聽This聽demonstrates聽that聽what聽is聽retrieved聽is聽NOT<br />treated聽as聽an聽HTML聽document聽but聽rather聽a聽simple聽stream聽of聽data,聽hence聽the<br />document聽is聽not聽parsed聽and聽page聽events聽don't聽fire,聽images聽don't聽get聽retrieved,<br />etc.<br /></span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">br</span> <span style="COLOR: #0000ff">><</span> <span style="COLOR: #800000">br</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">b</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000">Note聽that聽you聽will聽get聽a聽security聽warning聽if聽the聽domain聽you聽are聽accessing<br />is聽not聽the聽same聽as聽this聽example聽(which聽I聽assume聽it聽won't聽be).聽聽In聽fact,<br />some聽browsers聽will聽not聽allow聽this聽(Firefox),聽while聽others聽will聽with聽a<br />warning聽(IE).</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">b</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">br</span> <span style="COLOR: #0000ff">><</span> <span style="COLOR: #800000">br</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">form</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">input聽</span> <span style="COLOR: #ff0000">type</span> <span style="COLOR: #0000ff">="text"</span> <span style="COLOR: #ff0000">聽name</span> <span style="COLOR: #0000ff">="urlToRetrieve"</span> <span style="COLOR: #ff0000">聽size</span> <span style="COLOR: #0000ff">="50"</span> <span style="COLOR: #ff0000">聽value</span> <span style="COLOR: #0000ff">="http://www.omnytex.com"</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">input聽</span> <span style="COLOR: #ff0000">type</span> <span style="COLOR: #0000ff">="button"</span> <span style="COLOR: #ff0000">聽name</span> <span style="COLOR: #0000ff">="getURL"</span> <span style="COLOR: #ff0000">聽value</span> <span style="COLOR: #0000ff">="Get聽URL聽Contents"</span> <span style="COLOR: #ff0000">聽onClick</span> <span style="COLOR: #0000ff">="retrieveURL(urlToRetrieve.value);"</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">form</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">br</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">table聽</span> <span style="COLOR: #ff0000">border</span> <span style="COLOR: #0000ff">="1"</span> <span style="COLOR: #ff0000">聽bordercolor</span> <span style="COLOR: #0000ff">="#000000"</span> <span style="COLOR: #ff0000">聽cellpadding</span> <span style="COLOR: #0000ff">="5"</span> <span style="COLOR: #ff0000">聽cellspacing</span> <span style="COLOR: #0000ff">="0"</span> <span style="COLOR: #ff0000">聽width</span> <span style="COLOR: #0000ff">="100%"</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br />聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">tr</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br />聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">td</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br />聽聽聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">span聽</span> <span style="COLOR: #ff0000">id</span> <span style="COLOR: #0000ff">="urlContent"</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000">Retrieved聽content聽will聽be聽displayed聽here</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">span</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br />聽聽聽聽</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">td</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br />聽聽</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">tr</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">table</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">br</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <br /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">body</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">html</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> </div> <br />榪欎緥瀛愬緢綆鍗曟槸涓涓猘jax鏈鍘熷鐨勫疄濮嬩簡<img src ="http://m.tkk7.com/pdw2009/aggbug/70049.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/pdw2009/" target="_blank">鏈夌尗鐩鎬即鐨勬棩瀛?/a> 2006-09-16 16:27 <a href="http://m.tkk7.com/pdw2009/archive/2006/09/16/70049.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>DWR2閰嶇疆鍙婂叆闂ㄤ緥瀛?/title><link>http://m.tkk7.com/pdw2009/archive/2006/09/16/70048.html</link><dc:creator>鏈夌尗鐩鎬即鐨勬棩瀛?/dc:creator><author>鏈夌尗鐩鎬即鐨勬棩瀛?/author><pubDate>Sat, 16 Sep 2006 08:11:00 GMT</pubDate><guid>http://m.tkk7.com/pdw2009/archive/2006/09/16/70048.html</guid><wfw:comment>http://m.tkk7.com/pdw2009/comments/70048.html</wfw:comment><comments>http://m.tkk7.com/pdw2009/archive/2006/09/16/70048.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://m.tkk7.com/pdw2009/comments/commentRss/70048.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/pdw2009/services/trackbacks/70048.html</trackback:ping><description><![CDATA[浠ュ墠鐢ㄨ繃dwr1鍋氳繃涓浜涚畝鍗曠殑渚嬪瓙錛岀幇鍦ㄦ兂璁ょ湡娣卞叆鐨勪簡瑙wr2騫跺笇鏈涗互鍚庢湁鏈轟細鐢ㄨ繃濂廣傚湪鎴戠溂閲宒wr2鏄痑jax涓栫晫鐨勫ぇ緹庡コ錛屽ス娓呯函銆佸彲鐖憋紝鏈璁↗2EE紼嬪簭鍛樺枩嬈€?br /><br /><br /><br /><strong>DWR宓屽叆鍒扮幇鏈夌殑J2EE(Web)欏圭洰鐨勭殑閰嶇疆<br /></strong>聽聽聽聽1銆佹妸dwr.jar鏂囦歡鎷瘋礉鍒伴」鐩殑lib鐩綍涓嬨?br />聽聽聽 2銆佷慨鏀歸」鐩殑web.xml鏂囦歡錛屽湪鏂囦歡涓姞鍏ヤ互涓嬩唬鐮?br /><font color="#d3d3d3">聽聽聽聽聽聽聽聽聽 <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #000000">聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">servlet</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">servlet-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">dwr-invoker</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">servlet-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">servlet-class</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">org.directwebremoting.servlet.DwrServlet</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">servlet-class</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">init-param</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">param-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">debug</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">param-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">param-value</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">true</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">param-value</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">init-param</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">servlet</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">servlet-mapping</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">servlet-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">dwr-invoker</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">servlet-name</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">url-pattern</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">/dwr/*</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">url-pattern</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">servlet-mapping</span><span style="COLOR: #0000ff">></span></div><br /></font>聽聽聽 3銆佸湪WEB-INF鐩綍涓緩绔媎wr.xml鏂囦歡錛屼緥濡?<br />聽聽聽聽聽聽聽聽聽聽<br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #0000ff"><?</span><span style="COLOR: #ff00ff">xml聽version="1.0"聽encoding="UTF-8"</span><span style="COLOR: #0000ff">?></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #0000ff"><!</span><span style="COLOR: #ff00ff">DOCTYPE聽dwr聽PUBLIC聽"-//GetAhead聽Limited//DTD聽Direct聽Web聽Remoting聽2.0//EN"聽"http://www.getahead.ltd.uk/dwr/dwr20.dtd"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">dwr</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">init</span><span style="COLOR: #0000ff">></</span><span style="COLOR: #800000">init</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">allow</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">create聽</span><span style="COLOR: #ff0000">creator</span><span style="COLOR: #0000ff">="new"</span><span style="COLOR: #ff0000">聽javascript</span><span style="COLOR: #0000ff">="dwrbo"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">param聽</span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="class"</span><span style="COLOR: #ff0000">聽value</span><span style="COLOR: #0000ff">="com.dwr.DwrBO"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">create</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">allow</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">dwr</span><span style="COLOR: #0000ff">></span></div>浠ヤ笂dwr.xml鏂囦歡鍐呭榪樻槸姣旇緝濂界悊瑙c傚氨鏄彂甯冧竴涓被錛屼竴涓被鍙戝竷浜嗭紝閭d箞灝卞彲浠ラ氳繃js 鐨勪唬鐮佹潵璋冪敤榪欎釜綾婚噷鐨勬柟娉曚簡銆?br />4銆乧om.dwr.DwrBO綾葷殑鍐呭濡備笅錛?br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #0000ff">package</span><span style="COLOR: #000000">聽com.dwr;<br /><br /></span><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000">聽org.directwebremoting.WebContextFactory;<br /><br /></span><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000">聽uk.ltd.getahead.dwr.ExecutionContext;<br /><br /><br /></span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽DwrBO聽{<br />聽聽聽聽聽聽聽聽<br />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽String聽getInclude()</span><span style="COLOR: #0000ff">throws</span><span style="COLOR: #000000">聽Exception{<br />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽WebContextFactory.get().forwardToString(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">/a.jsp</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br />聽聽聽聽}<br />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽String聽getServerInfo(){<br />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽WebContextFactory.get().getServletContext().getServerInfo()</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Run聽on聽JDK:聽</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">System.getProperty(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">java.specification.version</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Useing聽DWR聽:</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">ExecutionContext.get().getVersion();<br />聽聽聽聽}<br />聽聽聽聽</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">[]聽getNumbers(</span><span style="COLOR: #0000ff">boolean</span><span style="COLOR: #000000">聽big){<br />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(big){<br />聽聽聽聽聽聽聽聽聽聽聽聽System.out.println(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">big==true</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">[]{</span><span style="COLOR: #000000">1000</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">2000</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">3000</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">4000</span><span style="COLOR: #000000">};<br />聽聽聽聽聽聽聽聽}</span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000">{<br />聽聽聽聽聽聽聽聽聽聽聽聽System.out.println(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">big==false</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000">[]{</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">3</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">4</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">5</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">6</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">7</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">8</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">9</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">10</span><span style="COLOR: #000000">};<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽<br />聽聽聽聽}<br />}<br /></span></div>榪欏疄闄呬笂鏄痙wr瀹樻柟緗戠珯涓婄殑渚嬪瓙. <br /><br />5銆侀〉闈㈣皟鐢ㄤ唬鐮?br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #000000"><br /></span><span style="COLOR: #000000"><%</span><span style="COLOR: #000000">@聽page聽language</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">java</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽pageEncoding</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">UTF-8</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%></span><span style="COLOR: #000000"><br /><br /></span><span style="COLOR: #000000"><%</span><span style="COLOR: #000000">@聽taglib聽uri</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">http://jakarta.apache.org/struts/tags-bean</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽prefix</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">bean</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #000000"><%</span><span style="COLOR: #000000">@聽taglib聽uri</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">http://jakarta.apache.org/struts/tags-html</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽prefix</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">html</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #000000"><%</span><span style="COLOR: #000000">@聽taglib聽uri</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">http://jakarta.apache.org/struts/tags-logic</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽prefix</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">logic</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #000000"><%</span><span style="COLOR: #000000">@聽taglib聽uri</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">http://jakarta.apache.org/struts/tags-tiles</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽prefix</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">tiles</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #000000"><%</span><span style="COLOR: #000000">@聽taglib聽uri</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">http://jakarta.apache.org/struts/tags-template</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽prefix</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">template</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #000000"><%</span><span style="COLOR: #000000">@聽taglib聽uri</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">http://jakarta.apache.org/struts/tags-nested</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽prefix</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">nested</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%></span><span style="COLOR: #000000"><br /><br /></span><span style="COLOR: #000000"><!</span><span style="COLOR: #000000">DOCTYPE聽HTML聽PUBLIC聽</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">-//W3C//DTD聽HTML聽4.01聽Transitional//EN</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">html:html聽locale</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">true</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">head</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">html:base聽</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br />聽聽聽聽<br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">title</span><span style="COLOR: #000000">></span><span style="COLOR: #000000">嫻嬭瘯</span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">title</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">meta聽http</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">equiv</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Content-Type</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽content</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">text/html;聽charset=utf-8</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">/></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">meta聽http</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">equiv</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">pragma</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽content</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">no-cache</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">meta聽http</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">equiv</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">cache-control</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽content</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">no-cache</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">meta聽http</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">equiv</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">expires</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽content</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000">聽聽聽聽<br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">meta聽http</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">equiv</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">keywords</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽content</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">keyword1,keyword2,keyword3</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">meta聽http</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">equiv</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">description</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽content</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">This聽is聽my聽page</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">style聽type</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">text/css</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #000000"><!--</span><span style="COLOR: #000000"><br />#Layer1聽{<br />聽聽聽聽position:absolute;<br />聽聽聽聽left:47px;<br />聽聽聽聽top:24px;<br />聽聽聽聽width:677px;<br />聽聽聽聽height:31px;<br />聽聽聽聽z</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">index:</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br />}<br />#context聽{<br />聽聽聽聽position:absolute;<br />聽聽聽聽left:45px;<br />聽聽聽聽top:100px;<br />聽聽聽聽width:679px;<br />聽聽聽聽height:100px;<br />聽聽聽聽z</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">index:</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">;<br />聽聽聽聽background</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">color:聽#f8f8f8;<br />聽聽聽聽clip:聽rect(10px,auto,auto,auto);<br />聽聽聽聽margin</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">top:聽10px;<br />}<br />#version聽{<br />聽聽聽聽position:聽relative;<br />聽聽聽聽top:聽200px;<br />聽聽聽聽width:聽200px;<br />}<br />#Layer2聽{<br />聽聽聽聽position:absolute;<br />聽聽聽聽left:26px;<br />聽聽聽聽top:247px;<br />聽聽聽聽width:485px;<br />聽聽聽聽height:76px;<br />聽聽聽聽z</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">index:</span><span style="COLOR: #000000">3</span><span style="COLOR: #000000">;<br />聽聽聽聽background</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">color:聽f2f2f2;<br />聽聽聽聽border:聽1px聽solid聽#f4f4f4;<br />}<br />body聽{<br />聽聽聽聽font</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">size:聽12px;<br />}<br /></span><span style="COLOR: #000000">--></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">style</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">script聽type</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">text/javascript</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">聽聽聽src</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000"><%=request.getContextPath()%>/dwr/interface/dwrbo.js</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">></</span><span style="COLOR: #000000">script</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">script聽type</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">text/javascript</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">聽聽聽src</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000"><%=request.getContextPath()%>/dwr/engine.js</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">></</span><span style="COLOR: #000000">script</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">script聽type</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">text/javascript</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">聽聽聽src</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000"><%=request.getContextPath()%>/dwr/util.js</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">></</span><span style="COLOR: #000000">script</span><span style="COLOR: #000000">></span><span style="COLOR: #000000">聽<br />聽聽聽聽<br />聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">SCRIPT聽language</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">javascript</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽聽聽聽function聽loadinfo(data)聽{<br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽DWRUtil.setValue(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">context</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,聽data);<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽function聽test(){<br />聽聽聽聽聽聽聽聽聽聽聽聽聽dwrbo.getInclude(loadinfo);<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽function聽loadinfoversion(data){<br />聽聽聽聽聽聽聽聽聽聽聽聽DWRUtil.setValue(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">version</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,data);<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽function聽showversion(){<br />聽聽聽聽聽聽聽聽聽聽聽聽dwrbo.getServerInfo(loadinfoversion);<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽聽聽聽聽<br />聽聽聽聽聽聽聽聽function聽createList(data){<br />聽聽聽聽聽聽聽聽聽聽聽聽DWRUtil.removeAllOptions(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">numlist</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br />聽聽聽聽聽聽聽聽聽聽聽聽DWRUtil.addOptions(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">numlist</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,data);<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽<br />聽聽聽聽聽聽聽聽function聽update(){<br />聽聽聽聽聽聽聽聽聽聽聽聽alert(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">xxxs</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br />聽聽聽聽聽聽聽聽聽聽聽聽dwrbo.getNumbers(createList,${</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">bigselect</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">}.checked);<br />聽聽聽聽聽聽聽聽}<br />聽聽聽聽<br />聽聽聽聽</span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">SCRIPT</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽</span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">head</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽<br />聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">body</span><span style="COLOR: #000000">></span><span style="COLOR: #000000">聽聽聽聽<br />聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">div聽id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Layer1</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">input聽type</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">submit</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽name</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Submit</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽value</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">嫻嬭瘯</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽onClick</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">test()</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">input聽type</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">submit</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽name</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Submit</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽value</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">鐗堟湰淇℃伅</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽onClick</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">showversion()</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽</span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">div</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">div聽id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">context</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽</span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">div</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">div聽id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">version</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000">聽<br />聽聽</span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">div</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">div聽id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Layer2</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">input聽type</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">checkbox</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">聽聽聽id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">bigselect聽onclick</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">update()</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">></span><span style="COLOR: #000000">鏁板瓧綾誨瀷</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">br</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽聽聽聽</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">select聽聽id</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">numlist</span><span style="COLOR: #000000">></</span><span style="COLOR: #000000">select</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽</span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">div</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br />聽聽</span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">body</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #000000"></</span><span style="COLOR: #000000">html:html</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br /></span></div><br />榪欏彧鏄竴涓畝鍗曠殑渚嬪瓙錛岃嚦浜庡叿浣撶殑鎶鏈鏄庡氨涓嶈浜嗭紝鍥犱負寰堢畝鍗曘傛妸瀹冭創鍑烘潵褰撲綔涓涓瑪璁板惂錛屽笇鏈涜兘榪涗竴姝ュ涔燚WR<img src ="http://m.tkk7.com/pdw2009/aggbug/70048.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/pdw2009/" target="_blank">鏈夌尗鐩鎬即鐨勬棩瀛?/a> 2006-09-16 16:11 <a href="http://m.tkk7.com/pdw2009/archive/2006/09/16/70048.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://686kp.com" target="_blank">亚洲伊人久久精品影院</a>| <a href="http://www12kvkv.com" target="_blank">免费人妻无码不卡中文字幕18禁</a>| <a href="http://yw5168.com" target="_blank">中文字幕久久亚洲一区</a>| <a href="http://788qj.com" target="_blank">免费一区二区无码视频在线播放</a>| <a href="http://kyqp0022.com" target="_blank">在线播放免费播放av片</a>| <a href="http://manghuo365.com" target="_blank">亚洲欧洲专线一区</a>| <a href="http://bjgelinhotel.com" target="_blank">毛片基地免费视频a</a>| <a href="http://tiantangapp.com" target="_blank">色老板亚洲视频免在线观</a>| <a href="http://53ggk.com" target="_blank">最近中文字幕mv免费高清电影</a>| <a href="http://www48646.com" target="_blank">亚洲中文字幕一二三四区苍井空</a>| <a href="http://maomi02.com" target="_blank">日本阿v免费费视频完整版</a>| <a href="http://86trader.com" target="_blank">亚洲中文字幕乱码AV波多JI</a>| <a href="http://yuntao360.com" target="_blank">国内自产拍自a免费毛片</a>| <a href="http://1ygogo.com" target="_blank">成人亚洲国产精品久久</a>| <a href="http://116603a.com" target="_blank">亚洲精品高清一二区久久</a>| <a href="http://doctor5470.com" target="_blank">波霸在线精品视频免费观看</a>| <a href="http://m0808dy.com" target="_blank">亚洲av无码一区二区三区网站 </a>| <a href="http://116603a.com" target="_blank">老外毛片免费视频播放</a>| <a href="http://18yinren.com" target="_blank">亚洲日本中文字幕一区二区三区</a>| <a href="http://2h6m.com" target="_blank">a级片免费在线播放</a>| <a href="http://hbgksy.com" target="_blank">日木av无码专区亚洲av毛片</a>| <a href="http://038037.com" target="_blank">国产黄色免费网站</a>| <a href="http://grjeans.com" target="_blank">久久久久久亚洲av无码蜜芽 </a>| <a href="http://hyhtzh.com" target="_blank">亚洲AV永久精品爱情岛论坛</a>| <a href="http://9797ww.com" target="_blank">4444www免费看</a>| <a href="http://shzzhsy.com" target="_blank">亚洲AV无码一区二区一二区 </a>| <a href="http://90hong.com" target="_blank">97视频免费在线</a>| <a href="http://15831883389.com" target="_blank">亚洲AV日韩AV一区二区三曲</a>| <a href="http://22nee.com" target="_blank">国产亚洲美女精品久久久</a>| <a href="http://imfever.com" target="_blank">一级毛片全部免费播放</a>| <a href="http://xiaoduanfa.com" target="_blank">亚洲精品国产日韩</a>| <a href="http://477077.com" target="_blank">亚洲午夜福利精品无码</a>| <a href="http://295301.com" target="_blank">99久久精品免费精品国产</a>| <a href="http://w7759.com" target="_blank">亚洲精品国产第一综合99久久 </a>| <a href="http://583s.com" target="_blank">精品国产日韩亚洲一区</a>| <a href="http://91sebo.com" target="_blank">鲁大师在线影院免费观看 </a>| <a href="http://8x8xbu.com" target="_blank">sss日本免费完整版在线观看</a>| <a href="http://guhey.com" target="_blank">亚洲一区综合在线播放</a>| <a href="http://xa69.com" target="_blank">国产免费人成在线视频</a>| <a href="http://ksdhao.com" target="_blank">久久精品视频免费播放</a>| <a href="http://zzz134.com" target="_blank">亚洲av中文无码乱人伦在线观看</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>