File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Ajax Newbie question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Ajax Newbie question" Watch "Ajax Newbie question" New topic
Author

Ajax Newbie question

Padma Priya
Ranch Hand

Joined: Feb 01, 2007
Posts: 113
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

Joined: Sep 29, 2008
Posts: 12617

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ajax Newbie question