aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Best Way to Return XML to AJAX Client 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 "Best Way to Return XML to AJAX Client" Watch "Best Way to Return XML to AJAX Client" New topic
Author

Best Way to Return XML to AJAX Client

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
I am using JSP return return XML file the my ajax client like this:


Just wondering if this is the right way to return XML in a J2EE server?
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
no problem , but what is the use if you are sending a static xml , this is suppose to help in case you need to send dynamic data to a ajaxified client.
Technically your code would work.


Rahul Bhattacharjee
LinkedIn - Blog
 
wood burning stoves
 
subject: Best Way to Return XML to AJAX Client