Hi folks,
I did an example on AJAX with Structs , when i send request from
JSP to Action class i am able to get the req.responseXML object in the JSP.
Problem is: (In this example i am not using the Action class , directly from JSP i am calling another JSP with AJAX)When i am trying to send request from JSP to another JSP where i am producing the XML and flushed it. But in the first JSP i am not getting the responseXML object.
Sample Code used in 2nd JSP, where i am producing and returning the XML response.setContentType("text/xml; charset=UTF-8");
response.setHeader("Cache-Control", "no-Cache");
//Here generated the XML in
String Buffer (sb)
out.flush();
out.write(sb.toString);