Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rakesh on Dec 21, 2009 09:24
open dhtmlx forum
Populating xml using struts2

Hi
i have an issue while loading the grid with myGrid.Load("<%=request.getContextPath()%>/jsp/test.jsp")
after debugging i found that the test.jsp(content-type="text/xml")is not getting populated!
i am using struts2 tags to populate it and also have tried with jstl.
does the issue is with struts2 ?
pls advice a better way to load xml using struts2
thanks in advance!
Answer posted by dhxSupport on Dec 22, 2009 01:48
This issue isn't related dhtmlxGrid component. First parameter of load() method must be url which returns valid xml for the grid. You can generate xml stream with any server side technology.