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

Ajax¿çÓò·ÃÎÊ


AjaxÖ±½Ó¿çÓò·ÃÎÊ£¬»á³öÏÖûÓÐȨÏ޵ĴíÎó£¬Ò»¸ö±È½Ï¼òµ¥¿ÉÐеĽâ¾ö·½°¸ÈçÏ£º
×öÒ»¸ö ajaxÇëÇóµÄ ´úÀíservlet »òÕßjsp£¬
ajaxÇëÇóservlet»òjsp´úÀí£¬ÓÉservlet»òjsp´úÀíÈ¥ÇëÇóajaxÒª·ÃÎʵÄaction£¬È»ºóÔÙ½«actionµÄÏìÓ¦ÐÅÏ¢·µ»Ø¸øajax¼´¿É£¬
servlet»òjsp³äµ±ÖнéÈ˵ĽÇÉ«
servlet »ò jsp ´úÀíµÄ  ºËÐÄ´úÂëÈçÏ£¨java£©
Url url=new Url("actionµØÖ·");
 InputStream in=url.openStream();
BufferedReader dr=new BufferedReader(new InputStreamReader(in,"utf-8");
String line;
while((line=dr.readLine())!-null){
¡¡¡¡out.print(line);
}
in.close();
dr.close();
out.fluse();


Ïà¹ØÎĵµ£º

FABridge½Ì³Ì(Flex+Ajax)

½ñÌìÕÒһЩFlex×ÊÁÏ£¬Å¼È»·¢ÏֺܶàÈËÔÚÎÊÓйØFABridgeµÄÎÊÌ⣬¿´ÁËһϣ¬´óÖ¶¼ÊÇÔÚÎÊÔÚFlashBuilderÖÐÈçºÎͨ¹ýFABridgeÀ´ÊµÏÖF-AµÄ½»»¥¡£¼òµ¥ËµËµ°É¡£
Ò».ͨ¹ýjs·ÃÎÊFlex×é¼þ
    1.×¼±¸¹¤×÷¡£ÏȽ¨Á¢Flex¹¤³Ì :fademo£¬²¢·ÅÖÃÒ»¸öÎı¾¿ò:txtName¡£×öÍêºó´úÂëÓ¦¸ÃÀàËÆÓÚÕâ¸öÑù×Ó£º
<?xml version="1.0 ......

ajax?

Õ⼸ÌìÔÚ×¼±¸×öÒ»¸öǶÈëʽÉ豸µÄweb server£¬²¢ÇÒÏ£ÍûÄÜ×öµ½É豸״̬µÄ¶¯Ì¬ÏÔʾ¡£´Ócgiµ½html£¬´Óhtmlµ½javascript£¬´Ójavascriptµ½XMLHttpRequest£¬ÕæÊÇÓÖµ±µùÓÖµ±ÂèµÄ£¨ºÙºÙ£¬¿É²»ÊÇ´Ö¿Ú°¡£©¡£XMLHttpRequestÊǺÎÎ²»ÓÃË¢ÐÂÒ³Ãæ¾ÍÄܺÍserver¶Ë½»»»Êý¾Ý¡£Æñ²»ÊÇÕýºÏÎÒÒâ¡£¿´ÁËÁ½ÆªÎÄÕ²ŻÐÈ»´óÎò£¬ÄѵÀÕâ¾ÍÊÇ´«ËµÖеÄAj ......

ajax Àý×Ó

 <script type="text/javascript">
  //¶¨ÒåXMLHttpRequest¶ÔÏó±äÁ¿
  var xmlHttpRequest;
  
  /*
   * ´´½¨XMLHttpRequest¶ÔÏó¡£
   * ±¾º¯ÊýÖ÷ÒªÍê³ÉXMLHttpRequest¶ÔÏóµÄ´´½¨£¬ºËÐÄ·ÖΪÒÔÏÂÁ½¸ö²¿·Ö£º
   * µÚÒ»²½£ºÊ×ÏÈÅж ......

Ajax¼ì²â×¢²áÓû§ÊÇ·ñ´æÔÚ(.NET)

HTML´úÂëÈçÏÂ:
LoginValidate.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LoginValidate.aspx.cs" Inherits="LoginValidate" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ÑéÖ¤Óû§ÃûÊÇ·ñ´æÔÚ</title>
<script type="text/j ......

ASP .NET ÖÐ AJAX µÄ TabContainer µÄ CSS Ñùʽ±àд

ÔÚ ASP .NET µÄ AJAX ¿Ø¼þÖÐ TabContainer µÄ CSS ÑùʽµÄ±àд¾ßÓÐÒ»¶¨µÄ¸ñʽ¹æ·¶¼°ÃüÃû¹æÔò£¬ÈçÏÂͼ£º
¾ßÌåµÄ CSS ÑùʽµÄ±àдΪ£º
.ajax_tab_menu .ajax__tab_header /*ÕûÌå°´Å¥µ×Ñùʽ*/
{
font-family:ËÎÌå;
height:29px;
font-size:12px;
background:#181c1f repeat-x bottom;
}
.ajax_tab_menu .ajax__tab ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ