aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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: 61961

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
subject: Issue with Ajax Response XML