Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by De Wolf Stijn on Jul 15, 2008 06:26
open dhtmlx forum
dhtmlxToolbar.loadXML

How can I load an XML file using a serverpage in java with an XMLDom object for populating the dhtmlxToolbar?
Answer posted by Support on Jul 15, 2008 06:48
In js code
toolbar.load("some.jsp")

In server side code
<%@ page language="java" contentType="text/xml; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"
%>
<%
    serialize_to_xml_string_and_print_to_response(XMLDomObject);
%>