Close
jGuru Forums
Posted By: danny_rebello Posted On: Wednesday, July 26, 2006 05:04 AM
Hi All, I am trying to pass huge xml data from servlet in my jsp with Ajax request and response and through javascript writing the data in the xml tags in my jsp , while passing samll data the output produced is proper. servlet code StringBuffer xml = new StringBuffer(); xml.append(" <?xml version="1.0"?> "); String st = "123234425"; xml.append(" "); xml.append(" "); String xmlFormat = xml.toString(); response.setContentLength(xmlFormat.length()); response.setContentType("application/xml"); response.getWriter().write(xmlFormat); Is there any way or using SaxParser can it be achieved and how. Thanks in advance Danny Rebello
Re: Error while passing huge XML Data from Servlet
Posted By: Anonymous Posted On: Wednesday, July 26, 2006 09:17 AM