The biggest headache with Ajax is deciding which Ajax-library provider you want to use. Or if you are a JavaScript wiz, to do it all yourself.
Basically, as Dian has said, you use the XMLHttpRequest object in Javascript in the browser to make an http request on the server. The servlet on the...