Ajax ¿Ø¼þʹÓñʼǣ¨Ò»£©¿Ø¼þ°²×°
½ñÌì³õ´Î½Ó´¥AjaxÄÇôÎÒ½«ÎÒµÄѧϰ¼Ç¼ÏÂÀ´£¬×î½ü¼ÇÐÔ²»Ì«ºÃ¡£±¸Íü°É
1¡¢Ê×ÏÈ´ÓÍø·ÉÏÏÂÔØAjaxÀ©Õ¹°ü£¬VS2008Ö»ÊÇ´ø×Å×î»ù´¡µÄÈý¸öAjax¿Ø¼þ¡£ÄÇôÎÒÃÇÏÂÔØAjaxControlToolkit¿Ø¼þ£¬½«ÏÂÔغóµÄѹËõ°ü½âѹ¡£ÕÒ³öAjaxControlToolkit.dllËùÔÚλÖá£
2¡¢ÔÚVS2008ÖУ¬ËæÒâÕÒÒ»¸öÑ¡Ï£¬»òÕߣ¬Ð½¨Ò»¸öÑ¡ÏÀ´·ÅÈëÎÒÃÇËù¼ÓÈëµÄ×é¼þ¡£ Ñ¡ÔñÑ¡Ïµã»÷ÓÒ¼ü£¬ÔÚµ¯³öµÄ²Ëµ¥ÖÐÑ¡Ôñ“Ñ¡ÔñÏî”ÌõÄ¿¡£ÈçÏÂ
3¡¢ÔÚµ¯³öµÄ´°ÌåÖÐÑ¡Ôñ.net FrameworkÑ¡Ï£¬µã»÷ä¯ÀÀ¡£Ñ¡ÖÐÉÏÃæAjaxControlToolkit.dll£¬Ñ¡ÔñÉÏÃæÁ½Ïµã»÷È·¶¨¡£ÄãÑ¡ÔñµÄÑ¡ÏÖоͻá¶à³öһϵÁÐAjax¿Ø¼þ¡£
4¡¢Ê¹Óãº
½«¹¤¾ßÀ¸ÖеĿؼþÍÏÈë´úÂë±à¼Æ÷ÖУ¨Ö±½ÓÍÏÈë½çÃæÄã»á·¢ÏÖËûÄïµÄ¸ù±¾Íϲ»½øÈ¥£¬Æð³õÒÔΪ¿Ø¼þ°²×°ÓÐÎÊÌ⣬ºóÀ´·¢ÏÖ¸ù±¾²»ÊÇÄÇô»ØÊ£©
5¡¢ÏÖÔÚÄã¿ÉÒÔʹÓÃÁË¡£²¹³ä˵Ã÷Ï£¬¸ù±¾²»ÐèҪʲôÅäÖá£
ÔÚÄãÍÏÈëAjax¿Ø¼þµÄͬʱ£¬³ÌÐò»á×Ô¶¯¼ÓÈëÈçÏ¡£ÄãÒª×öµÄ¾ÍÊÇÖ±½ÓʹÓÃÁË
Ïà¹ØÎĵµ£º
Google Search API
²Î¿¼Êé¼®£ºGoogle API´óÈ«—±à³Ì?¿ª·¢?ʵÀý
Êé¼®¶Ô¼¸Ê®ÖÖGoogle³£ÓÃAPI½øÐÐÁËÊáÀíºÍ½éÉÜ£¬¸¨ÒÔÐÐÖ®ÓÐЧµÄ´úÂëʵÀý
http://code.google.com/intl/zh-CN/apis/ajaxsearch/documentation/
1£©Google Site Search
GoogleÕ¾µãÄÚǶËÑË÷µÄʹÓ÷½·¨
<%@ page language="java" contentType="text/ht ......
jquery Ajax ´«µÝºº×Öµ½ servlet ʱ³öÏÖÂÒÂëµÄÎÊÌâ
2009Äê11ÔÂ25ÈÕ ÐÇÆÚÈý ÏÂÎç 02:28
jquery Ajax ´«µÝºº×Öµ½ servlet ʱ³öÏÖÂÒÂëµÄÎÊÌâ
ÔÚjsÖжÔÐèÒªµÄ´«Ë͵IJÎÊý½øÐбàÂë
encodeURI(encodeURI(param))
ÔÚ·þÎñÆ÷½ÓÊܺó¶ÔÆä½øÐнâÂë
String param = URLDecoder.decode(request.getParameter("param"),"utf-8");
......
ÎҵĴºÇï³ÕÃεڶþ²½£º
дһ¸ö ͨÓÃµÄ ¶ÔÏó ÁÐ±í £¬»¹ °üº¬ ËÑË÷ºÍ ÊôÐÔ¹ýÂË¡£
¾ßÌåµÄЧ¹ûÊÇ£º
µ±Ð ҵÎñ Ìí¼ÓÒ»¸ö ±íµÄʱºò£¬Ö»ÐèÒªÔÚ ¶ÔÏóÄ£ÐÍÀïµÄ Ìí¼ÓÒ»¸ö model
ºǫ́¼¸ºõ²»Ðèд´úÂë¡£
(ÎÒÊǺǫ́£º¼¤¶¯ÈËÐÄ£¡)
µ÷ÓõĶÔÏ󣬵ڼ¸Ò³£¬ÊôÐ﵀ ¹ýÂË ºÍËÑË÷È«ÊÇ Ç°Ì¨µÄAjax²ÎÊý¿ØÖÆ
(ÎÒÊÇǰ̨£º#$!@#$%$^#$% ......
ASP.NET,AJAXÎļþÉÏ´«µÄÒÉÎÊ
Ô±¾ÒÔΪÓÃÕâÖÖ·½Ê½£¬°Ñ´Ë·½·¨·Åµ½Ò»¸öHttphandlerÖУ¬È»ºó´ÓJAVASCRIPT·ÃÎÊHttphandlerÀ´ÊµÏÖÎÞˢеÄÎļþÉÏ´«¡£Ã»Ïëµ½£¬ÕâÑùͬÑùÊDz»Ðеģ¬Ö»ÄÜÔÚ±¾»ú²âÊÔͨ¹ý£¬Èç¹û·Åµ½ÍøÉÏ£¬»òÕß´ÓÆäËûµØ·½·ÃÎʾͻáÌáʾÎÞ·¨ÕÒµ½Îļþ£¬¿É¼ûÔÚASP.NETÖÐËüÖ»ÄÜÓÃÓÚÉÏ´«·þÎñÆ÷¶ËµÄÎļþ¡£
֮ǰÔÚÍøÕ¾Ò²Ë ......