- 1、本文档共10页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- 2009年1月自考马克思主义基本原理概论模拟试卷及答案2(An introduction to the basic principle of Marx's January 2009 self simulation papers and answers 2).doc
- 2009年4月贵州省高等教育自学考试日程表(In April 2009 the Guizhou province higher education self-study exam schedule).doc
- 2009年初中生物会考复习提纲(In 2009, the junior middle school biology examination review outline).doc
- 2009年名企面试题集锦之华为篇(In 2009 the HUAWEI article highlights enterprises interview questions).doc
- 2009年山西省教师资格认证考试全真模拟试卷及答案九(In 2009 Shanxi province teacher certification exam simulation papers and answers nine).doc
- 2009年春季(In the spring of 2009).doc
- 2009年江苏教师招聘(2009 Jiangsu teacher recruitment).doc
- 2009年江苏高考本二录取分数线总汇(2009 the two Jiangsu college entrance examination admission scores confluence).doc
- 2009年社会工作法规与政策(中级)模拟试题(In 2009, social work regulations and policies (intermediate) test).doc
- 2008年高考近义词辨析备考集锦(The college entrance examination in 2008 pro forma synonyms highlights).doc
文档评论(0)