Action类:
public ActionForward ajaxPutOldLevel(ActionMapping mapping,
ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws IOException {
TeachAjaxForm teachAjax = (TeachAjaxForm) form;
ClassInfo clz = this.classInfoBiz.getClassInfo(teachAjax.getItemClass()
.getClassId());
GradeLevel level = teachAjax.getItemLevel();
level.setUpLevel(clz.getGradeLevel().getUpLevel());
List<GradeLevel> levels = this.gradeLevelBiz.searchOlder(level);
JsonConfig config = new JsonConfig();
config.setExcludes(new String[] { "grade" });
System.out.println("aaaaaaaaaaaaaaaaaaaa" + config.toString());
JSONArray list = JSONArray.fromObject(levels, config);*********************************
System.out.println("aaaaaaaaaaaaaaaaaaaa" + list.size());
response.setContentType("text/html;charset=utf-8");
response.getWriter().println(list);
return null;
}
控制台:(略去上面部分)
Hibernate: 
    select
        this_.level_id as level1_100_0_,
        this_.grade_id as grade2_100_0_,
        this_.level_code as level3_100_0_,
        this_.level_desc as level4_100_0_,
        this_.level_name as level5_100_0_,
        this_.class_count as class6_100_0_,
        this_.class_norm as class7_100_0_,
        this_.up_level as up8_100_0_ 
    from
        seedling.dbo.gradeLevel this_ 
    where
        this_.up_level<=? 
    order by
        this_.up_level desc
aaaaaaaaaaaaaaaaaaaanet.sf.json.JsonConfig@1bcb433
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'callback' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'transactionTimeout' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'URL' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'array' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'asciiStream' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'bigDecimal' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'binaryStream' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'blob' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'boolean' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'byte' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'bytes' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'characterStream' has no read method. SKIPPED
2009/11/20-10:37:06  WARN JSONObject:944 - Property 'clob' has no read method. SKIPPED昨天就遇到这问题了,实在搞不定。Json不太熟悉,所以不明白。望前辈指点,感激!!