Hello ranchers, I am using ajax in my web application, when a xmlhttp get request is sent, insdide the doGet method, is there any difference how the httpServletRequest object behaves? Can i acess session etc from the servlet when the request is xmlhttprequest?
Any response would be appreciated, [ October 12, 2008: Message edited by: John Robert ]
The server just sees a normal httprequest to be processed like any other GET or POST. I suspect that the request headers may have extra significance but it is up to you the programmer to check those headers.
Joined: Jun 17, 2008
Bill thanks for the response . I have a list that needs to be displayed on the page dynamically, using ajax. So i wanted to put it in session scope, so was thinking will i be able to do access session scope from the servlet on a xmlhttprequest.