小弟在action写了一个json串 
public void QueryAllDocument() throws IOException {
List<TabMenu>  tabmenus = tabMenuService.getMenus();//取一级菜单
StringBuffer temp = new StringBuffer();
for(int i=0;i<tabmenus.size();i++){
TabMenu tabmenu = tabmenus.get(i);
if(tabmenu.getMenu_id()!=null&&!"".equals(tabmenu.getMenu_id())){
temp.append("{id:\"").append(tabmenu.getMenu_id()).append("\"");
}else{
temp.append("null");
}
temp.append(",data:");
if(tabmenu.getMenu_name()!=null&&!"".equals(tabmenu.getMenu_name())){
temp.append("\"").append(tabmenu.getMenu_name()).append("\"");
}else{
temp.append("null");
}

try {
List<TabMenu> tabmenuss = tabMenuService.getTwoLevel(tabmenu.getMenu_id());//取二级菜单
temp.append(",children: [");
    for(int j=0;j<tabmenuss.size();j++){
TabMenu tabmenu2 = tabmenuss.get(j);
if(tabmenu2.getMenu_id()!=null&&!"".equals(tabmenu.getMenu_id())){
temp.append("{id:\"").append(tabmenu2.getMenu_id()).append("\"");
}else{
temp.append("null");
}
temp.append(",data:");
if(tabmenu2.getMenu_name()!=null&&!"".equals(tabmenu2.getMenu_name())){
temp.append("\"").append(tabmenu2.getMenu_name()).append("\"]");
}
}
} catch (SQLException e) {
e.printStackTrace();
}

temp.append("},");
}
getPrintWriter().println(temp.toString());
}

public static PrintWriter getPrintWriter(){
HttpServletResponse response = ServletActionContext.getResponse();
response.setContentType("text/html;charset=UTF-8");
try {
return response.getWriter();
} catch (IOException e) {
e.printStackTrace();
}
return null;
}我这个串是拼接成了一个树的结构 但是我在jsp界面  用jQuery的$.ajax调用的时候· 没反应 是不是我哪里写错了呢·jQuery(document).ready(function(){           var jsondata;
          $.ajax({
          url:'/DocSys/doc/docQueryAllDocument.action',
          dataType:'json', 
          type :'get',
          jsondata = eval( "(" + data + ")" );
          });$("#localJson").AdubyTree({
data:jsondata,
dataType:"json",
checkboxes:true
});});<tr>
<td  valign ="top"><div id="localJson"></div></td>
</tr>是不是我 哪里写错了啊 大哥们··