Originally posted by Jesus Angeles:
Anyone know any book for working with ajax, in a jsp/servlet system?
Next week's book promotion in this forum (this forum's been busy lately!) will be for Ajax in Practice which I co-authored. The backend components for most of the examples in the book is Java.
Some of my questions are:1) does the ajax call talk to the servlet exactly the same as the ordinary http call to the servlet, i.e., in the same session, with the same session context available to that servlet, etc.?
Yes. From the point of view of a serlvet or
JSP, the request is the same as any other request. The browser takes care of setting all the appropriate headers just as if the request were initiated by a link or a form submisssion.
The difference comes in what your code does with those requests.
[ April 07, 2007: Message edited by: Bear Bibeault ]