ajax同步异步的区别(The difference between Ajax synchronous asynchronous).doc

ajax同步异步的区别(The difference between Ajax synchronous asynchronous).doc

  1. 1、本文档共10页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ajax同步异步的区别(The difference between Ajax synchronous asynchronous)

ajax同步异步的区别(The difference between Ajax synchronous asynchronous) 1.ajax synchronous and asynchronous For example: ordinary B/S mode (synchronous) AJAX Technology (asynchronous) Synchronization: submit the request - wait for the server processing GT processed during the return to the client browser can not do anything Asynchronous request processing server through event trigger (- this is a browser can still do other things) - processed The synchronization is when you ask me to eat, I hear you go to dinner with you, if not heard, you will not stop calling, until I tell you to hear, and then go to dinner together. Asynchronous is you call me, and then go to eat, I may go immediately after the news, may also wait until after work to eat. So, if you want me to treat you to a meal, you can use a synchronous method and ask me to have a meal with an asynchronous method so that you can save money. For example, when calling, synchronous messages are asynchronous Look at a few parameters of the open method. .open (http-method, URL, async, userID, password) (followed by an account number and password, user name and password are required in the anonymous anonymous HTTP page) First look at asynchronous processing. Where async is a Boolean value. If it is asynchronous communication (true), the client does not wait for the server to respond; if it is synchronous (false), the client waits until the server returns the message to perform other operations. We need to specify synchronization mode according to the actual need, on some pages, may issue multiple requests, and even organized and planned a large-scale formation of high strength request, then one will overwrite the previous one, of course, this time to specify synchronization mode: Flase. The use of PreparedStatement API, one of the four main classes in the JDBC (Java, database, connectivity, Java database connections) java.sql.statement, requires developers to spend a lot of time and effort. One common problem with usin

您可能关注的文档

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档