• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax Newbie question

 
Padma Priya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

This might be a very stupid question. But i did face it in an interview. The Question was Where exactly is the XMLHttpRequest created when ajax is used with java and How can java code have access to this object.

Could any one please help me out

With Regards
Deepthi
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An XMLHttpRequest is created on the client; it's a JavaScript object. On the server side it's just an HTTP request--Java has no direct access to JavaScript objects on the client side.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic