I am a lack of English skills, I use a google translator because I would not fit the grammar and vocabulary words.
<?xml version="1.0" encoding="UTF-8"?> 1 aaa bbb 2 ccc lddd 3 eee fff//java
public void test1(HttpServletRequest request,HttpServletResponse response) throws Exception{
List list=testService.test(pro_id);
GridXML jdom = new GridXML();
jdom.autoBean(list,“asc_id,asc_level,asc_standard”); //make xml
System.out.println(jdom.toString());
setInputStream(new ByteArrayInputStream(jdom.getBytes(“UTF-8”)));
PrintWriter out = response.getWriter();
out.print(jdom.toString());
jdom.close();
}
//web
mygrid.loadXML(“testAction.do?mode=test1”);
//////////////////////////
From the main page by calling test1 said, to create a grid.
But coming up correctly in IE
Firefox and Chrome
Error type: LoadXML Description: Incorrect XML
Contains a message. If you think I use other browsers?