XML-JSP content Type problem

Hi All,

Please help me out.

I am using AJAX and hence the have to display the response obtained from server in javascript variable on the screen and keep on refreshing it.

The problem here is that I am getting the entire XML along with tags as string (or Text) from the server as response and now I have to display it on the screen. The content type of jsp page will be automatically set to HTML since it will be having other HTML tags like <script>. Now how do i display that xml on the screen with content type as XML. Is it possible using Frames? I tried it but no success.

Note: Xml is mapped with XSL and standalone is working fine.

[675 byte] By [hbmehta15a] at [2007-11-27 8:05:22]
# 1
If it is difficult to understand then I will explain it in detail with code
hbmehta15a at 2007-7-12 19:47:54 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
The responseXML property of the XMLHttpRequest object specifies the response as XML. Use DOM to parse the XML and obtain XML element values. To display XML set contentType as <%@ page contentType="text/xml" %>
dvohra09a at 2007-7-12 19:47:54 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...