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

AJAXµ÷Óà ASP.net ±¾µØÎļþϵͳµÄ¹ÖÎÊÌâ

×î½ü¿ª·¢ExtÓ¦Óã¬Ê¹ÓÃajaxÇëÇóÊý¾Ýʱ£¬Óöµ½ÁËÇëÇóÊý¾ÝÒÔ·µ»Ø£¬µ«IEÀïÈ´ÎÞ·¨ÏÔʾµÄ¹ÖÎÊÌâ¡£
ʹÓÃHTTPWatch²é¿´£¬·¢ÏÖERROR_INTERNET_CONNECTION_RESET¡£
ʹÓÃFireFoxºÍgoogleä¯ÀÀÆ÷¶¼Ã»ÓÐÎÊÌ⣬ÍøÉϲéÕÒ˵ÍøÕ¾·ÅÔÚIISÉÏûÓÐÎÊÌ⣬ÊÔÑéºóÖ¤Ã÷ÓÐЧ¡£
µ«Í¬Ê¿ª·¢Óûú´ó²¿·Ö¶¼ÊÇXPϵͳ£¬Óв¿·Ö»¹ÊÇHOME°æ£¬Òò´Ë¸ÃÎÊÌâ±ØÐëÕÒµ½Ô­Òò½â¾ö²ÅÐС£·¢ÏÖPOSTÇëÇó¸ÄΪGETÇëÇóÒ²²»»á³öÕâ¸öÎÊÌâ¡£
ÔÙ½øÒ»²½µÄ´óµ¨¼ÙÉ裬СÐÄÇóÖ¤¡£
ÔÚProcessRequest×îºóÔö¼Ó
context.Request.InputStream.ReadByte();
ºóÎÊÌâ³¹µ×½â¾ö
ÕâÖ¤Ã÷ÁËÎÒ֮ǰµÄ¼ÙÉè
Çé¿ö¿ÉÄÜÊÇÓÉÓÚʹÓÃÎļþ·½Ê½ÏµÍ³µÄÍøÕ¾£¬µ÷ÊÔÔËÐÐʱʹÓõÄÊÇASP.NET Development Server¶ø·ÇIIS£¬Òò´ËÔËÐлúÖÆÉÏÓëIIS´æÔÚ²»Í¬¡£
¼ì²é´úÂë·¢ÏÖ£¬´¦Àí¸ÃÇëÇóʱ£¬Ö»»ñÈ¡ÁËURLÉϵIJ¿·ÖÄÚÈÝ£¬²¢Î´¶ÔPOSTÄÚÈݲ¿·Ö½øÐлñÈ¡¡£
´Ëʱ¿ÉÄÜASP.NET Development Server²¢Î´´ÓIEÁ´½Ó¹ýÀ´µÄSocketÖжÁÈ¡Ê£Óಿ·Ö£¬¶ø³ÌÐò´¦ÀíÍê³Éºó·þÎñÆ÷¶Ë·¢Ëͽá¹ûÍê³Éºó¸ÃSocketÁ´½Ó¶Ïµô£¬¶øIEÈÏΪÊý¾Ý»¹Ã»Óз¢ËÍÍêÒò´Ë±¨ÁËERROR_INTERNET_CONNECTION_RESET´íÎó¡£


Ïà¹ØÎĵµ£º

ajax.dll .netÖмòµ¥Ê¹ÓÃajax

ajax.dllÒѾ­ÊǺÜÀϵĶ«Î÷ÁË£¬µ«ÊǽñÌìÎÒ²ÅÓõ½Ëü£¬ÏÖÔÚ°ÑËüµÄʹÓ÷½·¨¼Ç¼ÏÂÀ´¡£
1.ÔÚweb.configÖÐÅäÖÃajaxµÄ´¦Àí³ÌÐò¡£
<httpHandlers>
     <add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax" />
<httpHandlers>
2. ×¢²á´¦Àí³ÌÐòÀ࣬ajaxTestÊ ......

JSONÀý×Ó£¨struts ajax json£©

À´Ô´£ºhaoxuewu - BlogJava
¡¡¡¡Ç°¶Îʱ¼ä×öÏîÄ¿Óõ½ÁËjson£¬½ñÌìÎÒ³éʱ¼äдÁËÒ»¸östruts+ajax+jsonµÄÀý×Ó.
¡¡¡¡¸öÈ˸оõajax+jsonÔںܴó³Ì¶ÈÉϽµµÍÁËÍøÂçºÍ·þÎñÆ÷µÄIO£¬ÊÇÒ»¸öºÜ²»´íµÄ×éºÏ£¡
¡¡¡¡1£ºjsonµÄlibÎÒÓõÄÊÇjson-lib-2.1-jdk15.jar£¬Ëü¿ÉÒÔÔÚ
¡¡¡¡2£ºstrutsÓõÄÊÇ1.2
¡¡¡¡3£ºÓõ½ÁËjsµÚÈý·½prototype.js£¬Ö÷ ......

Asp.Net ĬÈÏ°´Å¥

·½·¨Ò»£º
function document.onkeydown() 

    if(event.keyCode==13) 
    { 
        document.form1.all.Submit.click();    //ÕâÀïµÄsubmitÊÇ°´Å¥µÄID
    } 
}
·½·¨¶þ£º
......

Àí½âASP.NETÖеÄÈý²ãÖеÄDAL¡¢BLLºÍUSL

Ò»¡¢Èý²ãÌåϵ¼Ü¹¹¡¡¡¡1.±íʾ²ã(USL)£ºÖ÷Òª±íʾWEB·½Ê½£¬Ò²¿ÉÒÔ±íʾ³ÉWINFORM·½Ê½¡£Èç¹ûÂß¼­²ãÏ൱ǿ´óºÍÍêÉÆ£¬ÎÞÂÛ±íÏÖ²ãÈçºÎ¶¨ÒåºÍ¸ü¸Ä£¬Âß¼­²ã¶¼ÄÜÍêÉƵØÌṩ·þÎñ¡£
¡¡¡¡2.ÒµÎñÂß¼­²ã(BLL)£ºÖ÷ÒªÊÇÕë¶Ô¾ßÌåµÄÎÊÌâµÄ²Ù×÷£¬Ò²¿ÉÒÔÀí½â³É¶ÔÊý¾Ý²ãµÄ²Ù×÷£¬¶ÔÊý¾ÝÒµÎñÂß¼­´¦Àí¡£Èç¹û˵Êý¾Ý²ãÊÇ»ýľ£¬ÄÇÂß¼­²ã¾ÍÊǶÔÕâЩ»ýľµÄ ......

ASP.NET ¿ª·¢ÖªÊ¶Ð¡½á£¨James Li£©

×öÁ˼¸ÄêµÄASP.NET,»ýÀÛÁ˲»ÉÙС¼¼ÇÉ¡£µ«ÊǼ¼ÇÉÖ»ÊʺÏÓÚÌض¨µÄ»·¾³£¬»¹²»Èç¼ÓÇ¿¶Ô»ù´¡ÖªÊ¶µÄÀí½âÓëÔËÓá£ÏÂÃæÊÇÎÒµÄÒ»µãÌå»á£¬Óë´ó¼Ò·ÖÏí¡£
1 ĸ°æÒ³
Õâ¸ö¿Ø¼þ¿ÉÒÔʹÎÒÍü¼ÇhtmlµÄiframeÖ®ÀàµÄÒ³Ãæ¿ò¼Ü·½°¸,»¹ÓÐframeset.
asp¿ª·¢Öл¹Ö§³Ö<#include file=”head.asp>
ÏÖÔÚÓÐĸ°æÒ³¿ÉÒÔÇáËɵÄÒÔ.NETµÄ·½Ê½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ