Populating xml using struts2


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!

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.