Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

·þÎñÓÚajaxµÄ¿ØÖÆÆ÷·½·¨

´Ë·½·¨ÓÃjspÄÚÖöÔÏóoutÊä³öµ½xmlÎļþÖÐ
public void ajaxEditorList() throws IOException{
  HttpServletResponse response = ServletActionContext.getResponse();
  //System.out.println("ddddddddddddddddddddddd;;;");
  int unitid=Integer.parseInt(request.getParameter("unitid"));
  //System.out.println("unitid:"+unitid);
  response.setHeader("Pragma", "No-cache");
  response.setHeader("Cache-Control", "no-cache");
  response.setDateHeader("Expires", 0);
  
  request.setCharacterEncoding("GBK");
  response.setCharacterEncoding("GBK");
  unitinfolist=adminUnitInfoService.getKangarooUnitinfoListByunitid(unitid);
  response.setContentType("text/xml");
  PrintWriter out = response.getWriter();
  out.print("<?xml version=\"1.0\" encoding=\"GBK\"?>");
  out.print("<unitinfoes>");
  if(unitinfolist==null||unitinfolist.isEmpty()){
   out.print("<isempty>");
   out.print("true");
   out.print("</isempty>");
  }else{
   out.print("<isempty>");
   out.print("false");
   out.print("</isempty>");
   for(KangarooUnitinfo ui:unitinfolist){
    out.print("<unitinfo unitinfoid=\""+ui.getInfoid()+"\">");
    out.print("<unitid>"+ui.getUnitid()+"</unitid>");
    out.print("<title>"+ui.getTitle()+"</title>");
    out.print("</unitinfo>");
   }
  }
  out.print("</unitinfoes>");
  out.flush();
  out.close();
 }


Ïà¹ØÎĵµ£º

Á÷ÐеÄAJAX¿ò¼Ü¶Ô±È£ºjQuery£¬Mootools£¬Dojo£¬Ext JS

AJAX
ÊÇweb2.0
µÄ»ùʯ£¬ÏÖÔÚÍøÉÏÁ÷Ðм¸ÖÖ¿ªÔ´µÄAJAX¿ò¼Ü£¬±È
È磺jQuery,Mootools,Dojo,Ext JSµÈµÈ£¬ÄÇôÎÒÃǵ½µ×ÔÚʲôÇé¿öϸÃʹÓÃÄǸö¿ò¼Ü£¿ÒÔÏÂÊÇÒ»×éÕª³­µÄÊý¾Ý£º
AjaxianÔÚ2007Äêµ×¶ÔAjax¹¤¾ß½øÐÐÁ˵÷²é£¬²¿·Öµ÷²é½á¹û¼ûÏÂ±í£¨ÆäÖÐÊý×ÖΪµ÷²éÕßʹÓøù¤¾ßµÄ°Ù·Ö±È£¬ÏêϸµÄÇë²Î¼ûÍøÒ³£©£ºhttp://ajaxian.com/archi ......

ajax ¼æÈÝÐÔÎÊÌâ½â¾ö ¼¯½õ

   ÕâÁ½Ìì¸Õ½â¾öÁËajax¶àä¯ÀÀÆ÷¼æÈݵÄÎÊÌ⣬Ö÷Òª¾ÍÕë¶ÔFirefoxµÄ£¬¿ªÊ¼»¹ÒÔΪFirefox²»Ö§³ÖajaxÄØ£¨±ðЦÎÒѽ£¬²»ÔõôÁ˽âFirefoxҲûÓùý£¬ºÇºÇ£©£¬¶à¿÷¿´ÁËÏÂÃæµÄÎÄÕ²ÅÈÃÎÒÁ˽âajaxµÄÊÊÓ÷¶Î§¡£ÆäʵֻҪ·ûºÏw3cµÄ±ê×¼¾Í¿ÉÒÔÔÚFirefoxµÈÕâЩä¯ÀÀÆ÷ÉÏÕý³£ÏÔʾ£¬ËùÒÔ»¹ÊÇÓ¦¸ÃºÃºÃÁ˽âÒ»ÏÂw3cµÄ±ê×¼¹æÔòѽ¡£²»¹ýÒª½ ......

ajaxÈëÃÅ

ÃèÊö:Ajax»ù´¡ ÔÚ½øÐÐAjax¿ª·¢ÒÔǰ£¬ÎÒÃDZØÐëÏȶÔһЩ»ù±¾µÄ֪ʶ½øÐÐÁ˽⡣ËäÈ»Ajax.NETÒѾ­½«AjaxʵÏÖϸ½Ú·â×°ÆðÀ´£¬²¢´ó´ó¼ò»¯
Ajax»ù´¡
ÔÚ ½øÐÐAjax¿ª·¢ÒÔǰ£¬ÎÒÃDZØÐëÏȶÔһЩ»ù±¾µÄ֪ʶ½øÐÐÁ˽⡣ËäÈ»Ajax.NETÒѾ­½«AjaxʵÏÖϸ½Ú·â×°ÆðÀ´£¬²¢´ó´ó¼ò»¯ÁËÎÒÃǵIJÙ×÷£¬µ«ÊÇÁ˽â»ù ±¾µÄAjaxʵÏÖ·½Ê½¶ÔÓÚ°ïÖúÎÒÃÇÔÚ¿ª·¢ÖÐ ......

Ajax¿ò¼Ü½éÉÜ

¡¡¡¡µ½´ËΪֹ£¬Äã¿ÉÄÜÒѾ­×¢Òâµ½£¬Ê¹ÓÃAjax±à³ÌʱÓкܶàÂ鷳ʡ£Èç¹ûÄãÒªÖ§³Ö¶à¸öä¯ÀÀÆ÷£¨ÏÖÔÚ»¹ÓÐË­Ö»Ö§³ÖÒ»¸öä¯ÀÀÆ÷ÄØ£¿£©£¬ÎÞÒÉ»áÔâÓö²»¼æÈÝÎÊÌâ¡£µ¥¿´Ò»¸ö¼òµ¥µÄ¶¯×÷£¬±ÈÈç˵´´½¨XMLHttpRequest¶ÔÏóµÄÒ»¸öʵÀý£¬ÕâÐèÒªÏȽøÐÐä¯ÀÀÆ÷²âÊÔ¡£Ò»µ©¿ªÊ¼³¢ÊÔʹÓÃAjax¼¼Êõ£¬ÄãºÜ¿ì¾Í»á×¢Òâµ½Òª·´¸´µØÍê³ÉͬÑùµÄһЩÈÎÎñ¡£µ±È»£¬ ......

ASP.NET 2.0 AJAXÖÐWebserviceµ÷Ó÷½·¨

ASP.NET 2.0 AjaxÖÐÄܹ»ÔÚ¿Í»§¶ËjsÖкܷ½±ãµØµ÷Ó÷þÎñÆ÷Webservice£¬ÒÔÏÂΪһЩµ÷ÓõÄʾÀý¡£±ÊÕß°²×°µÄASP.NET 2.0 AJAX
°æ±¾ÎªAJAX November CTP¡£
Èý¸öʾÀý·Ö±ðΪ£º
1 ´ø²ÎÊýµÄWS·½·¨
2 ²»´ø²ÎÊýµÄWS·½·¨
3 ²ÎÊýÀàÐÍΪDataTableµÄWS·½·¨
Ò»¡¢WebMethod
×¢ÒâÒªµã£º
1 WebMethodÀàÐèÒªÌí¼ÓÃüÃû¿Õ¼ä Microsoft.Web. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ