To meet the project requirements, use WebSphere 6.1 as the server andProgramAfter porting It, I encountered an Ajax error.
The WebSphere version 6.1.0.0 was installed at the beginning. After the installation, the program was released. After logging
When Ajax technology is used, we usually use the same URL to retrieve data after refreshing the page to submit data, and we will find that the data is from the past ~ This creates an illusion for the client ~~ You can cancel the cache using the
Part 1: Ajax Introduction
Ajax is composed of HTML, JavaScript, DHTML, and Dom. This outstanding method can convert clumsy web interfaces into interactive Ajax applications.Program. The author of this article is an Ajax expert who demonstrates how
Ajax synchronous requests are generally as follows:
VaR conn = ext. Lib. Ajax. getconnectionobject (). Conn;Conn. Open ("Post", 'HTTP: // localhost: 8080/struts2study/treeddget? Node =-1 ', false );
// The conn object here is actually the
This is a servlet application ..
The JSON-lib toolkit is used here. For how to use JSON-lib, see my blog
Http://blog.csdn.net/jadyer/archive/2011/02/01/6171659.aspx
The first is the Web. xml file.
xmlns: xsi =
1. Resource websites
1. Chinese website
1) Ajax China (recommended)
A professional Ajax technology website with clear categories, a large number of electronic tutorials, and Ajax source code downloads!
Http://www.okajax.com
2)
This blog uses ajax to implement automatic filling of Baidu Google search. When you search for materials online, the search engine displays a user-friendly automatic prompt function to meet user needs while greatly facilitating customer operations.
At present, the company is accumulating related technologies of Web2.0, and Cobra is used to train its hands. In the future, Cobra will abandon the wxpython-based GUI, but instead use the DHTML + Ajax-based technology. It is really tedious to make
Some concepts are not accurate and cannot be completely heard. There are some problems with English pronunciation.
Ajax and Atlas development series (1): Ajax introduction and Web2.0
Ajax and Atlas development series (2): Ajax development
Ajax and interface design for streaming
Inshua@gmail.com reprinted please indicate the source
The rapid development of Ajax swept through web development, and the old man was not familiar with it. He believed that AJAX development was not robust
I believe I am familiar with the following code.
Function getdata (URL, OBJ)
{VaR XH;XH = new activexobject ("Microsoft. XMLHTTP ");XH. onreadystatechange = function (){If (XH. readystate = 4){If (XH. Status = 200 ){Return XH. responsetext;}Else
Instance:
1. Ajax login advantages: If the entered password is incorrect, the page will be refreshed.
2. Ajax implements timed refresh. (To be continued)
VaR XMLHTTP;
Function createxmlhttprequest (){
If (window. activexobject ){
XMLHTTP = new activexobject ("Microsoft. XMLHTTP ");
}
Else if (window. XMLHttpRequest ){
XMLHTTP = new XMLHttpRequest ();
}
}
Function queryuserinfo (){
VaR jrntl_id =
Four collected documents
1. Ajax security:Http://bbs.hackbase.com/search.php? Searchid = 607 & orderby = lastpost & ascdesc = DESC & searchsubmit = Yes2. Ajax materials from the Chinese IT lab:Http://web.chinaitlab.com/List_1905.html3. Ajax video
DWR. xml
"-// getahead limited // DTD direct Web remoting 1.0 //" "http://www.getahead.ltd.uk/dwr/dwr10.dtd">
Test. js
Function calllist () { var T = $ ("HD "). value; If (t = "No parameter and no return
Parse the response to XML:
The server does not necessarily send responses in XML format. As long as the Content-Type response header is set to text/pain (for XML, the Content-Type header is text/XML ).
XML preface:Defines the XML version and the
Get and post
The get method places the value as a name/value pair in the request URL for transmission. There is a question mark after the URL, followed by the name/value pair. The post method is used to send parameters to the server, which is
[Date]======================================Ajax request/response mode
0. Ajax event triggering1. Create an XMLHTTPRequest object2. open () method: Create a server call3. Specify an event handler for onreadystatechange4. Send () method: send a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.