你的files是是数组
JSONArray.fromObject()这个是把list转换成json
下面这种情况就要加
public String findall() throws Exception{
List newsTypeList=newsService.findalltype();
JSONArray json=JSONArray.fromObject(newsTypeList);
result=json.toString();
return SUCCESS;
}