File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Issue with Ajax Response XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Issue with Ajax Response XML" Watch "Issue with Ajax Response XML" New topic

Issue with Ajax Response XML

Ravikanth Reddy Bapathi

Joined: Apr 13, 2007
Posts: 29

my requirement is on click of a button, I make asynchronous request to a servlet which in turn sends an XML as response, which is then used to update the page without any reload.

when i click on the button most of the times i am able to populate fields through ajax, but at times ajax response xml gets printed on my screen.

thing is I am unable to replicate this scenario.

Had any one encountered this kind of a behaviour with ajax ?
It would be great if any one could help me out in identifying the problem that I had made.

Thanks in advance.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63552

I think we'll need more info about what you are doing.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Issue with Ajax Response XML
It's not a secret anymore!