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

Google Ajax Search APIµÄ»ù±¾Ê¹Ó÷½·¨

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/html; charset=GBK"%>
<html>
<head>
<title>Ê×Ò³</title>
</head>
<body>
Õ¾ÄÚÈ«ÎÄËÑË÷£¬¹È¸èºÏ×÷Ìṩ
<!-- SiteSearch Google -->
<form method="get" action="http://www.google.com/custom"
        target="google_window">
<table border="0" bgcolor="#ffffff">
        <tr>
                <td nowrap="nowrap" valign="top" align="left" height="32"></td>
        </tr>
        <tr>
                <td nowrap="nowrap"><input type="hidden" name="domains"
                        value="njmars.net"></input> <label for="sbi" style="display: none">ÊäÈëÄúµÄËÑË÷×Ö´Ê</label>
                <input type="text" name="q" size="20" maxlength="255" value=""
                        id="sbi"></input> <label for="sbb" style="display: none">Ìá½»ËÑË÷±íµ¥</label>
                <input type="submit" name="sa" value="Google ËÑË÷" id="sbb"></input></td>
    


Ïà¹ØÎĵµ£º

AJAX DWR

ʹÓÃԭʼµÄXMLHttpRequest·¢³öÇëÇóʱ,Ö»ÄܶÔServletºÍJSP²Ù×÷
ÔÚJSPÖд´½¨3¸öfunction
1.createXmlHttpRequest----¸ºÔðÅжÏä¯ÀÀÆ÷ÀàÐÍ´´½¨ XMLHttpRequest¶ÔÏó
 var xmlHttpRequest;
 function createXMLHttpRequest(){
   // IE ä¯ÀÀÆ÷
   if(window.ActiveXObject){
&nbs ......

AJAX Cross Domain Same Origin Policy limitation

Õª×Ô£ºhttp://www.ibm.com/developerworks/library/wa-aj-jsonp1/
AJAX Same-Origin Policy(SOP) limitation:
 AJAX prevents cross-domail invokation, there are several ways to by pass this limitation.
1. write a proxy on the server side. The SOP limitation only exists only on the javascript si ......

JS AjaxÈ¡.NET Êý¾ÝÖÐÎÄÎÊÌâ

 ±¾ÈË×î½ü¼òµ¥Ð´ÁËÒ»¸ö¶¯Ì¬È¡Êý¾ÝµÄµÄÒ»¸öAjax·½·¨£¬Ê¹ÓÃJquery×÷Ϊ¿ò¼Ü£¬Ë¼Â·ÈçÏ£ºÊ×ÏÈÀûÓúǫ́°ÑÊý¾Ý´æÈëÒ»¸ö¼òµ¥µÄ¼Çʱ¾ÎļþÖУ¬È»ºóAjax·ÃÎÊÒ»¸öWeb Ò³Ã棬WebÒ³Ãæ»ñÈ¡¼Çʱ¾ÎļþÄÚÈÝ£¬²¢·µ»ØÄÚÈݸøAjax£¬AjaxÊ×Ò³ÏÔʾÊý¾Ý¡£µ«ÊÇÓöµ½ÎÊÌâÁË£¬ÎÊÌâ¾ÍÊÇÖÐÎĵıàÂëÎÊÌâ¡£µ±ºǫ́ȡÊý¾Ý¸øAjax£¬AjaxÏÔʾÊý¾ÝµÄʱºò£¬Ô ......

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

´Ë·½·¨ÓÃjspÄÚÖöÔÏóoutÊä³öµ½xmlÎļþÖÐ
public void ajaxEditorList() throws IOException{
  HttpServletResponse response = ServletActionContext.getResponse();
  //System.out.println("ddddddddddddddddddddddd;;;");
  int unitid=Integer.parseInt(request.getParameter("unit ......

AJAX¿ò¼Ü±È½Ï£ºjQuery£¬Mootools£¬Dojo£¬Ext JS

       AJAXÊÇweb20µÄ»ùʯ£¬ÏÖÔÚÍøÉÏÁ÷Ðм¸ÖÖ¿ªÔ´µÄAJAX¿ò¼Ü£¬±ÈÈ磺jQuery,Mootools,Dojo,Ext JSµÈµÈ£¬ÄÇôÎÒÃǵ½µ×ÔÚʲôÇé¿öϸÃʹÓÃÄǸö¿ò¼Ü£¿ÒÔÏÂÊÇÒ»×éÕª³­µÄÊý¾Ý£º      
       AjaxianÔÚ2007Äêµ×¶ÔAjax¹¤¾ß½øÐÐÁ˵÷ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ