A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Engineering
»
HTML, CSS and JavaScript
Author
Best Way to Return XML to AJAX Client
Alec Lee
Ranch Hand
Joined: Jan 28, 2004
Posts: 569
posted
Dec 12, 2006 03:35:00
0
I am using
JSP
return return XML file the my ajax client like this:
<%@ page contentType="text/xml" ...%> <mytags> ... </mytags>
Just wondering if this is the right way to return XML in a
J2EE
server?
Rahul Bhattacharjee
Ranch Hand
Joined: Nov 29, 2005
Posts: 2300
posted
Dec 12, 2006 04:22:00
0
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
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Best Way to Return XML to AJAX Client
Similar Threads
Custom tags - problem getting started
tag library error
How to get Full Form Id?
Error in the final mock exam Qn 63?
Extending BodyTagSupport (HFS CH10 Q9)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter