tian321go的博客接收前端数据,进行数据库的更新或创建@Controller @RequestMapping("/database") public class DataBase { //获取配置文件中数据库配置信息 public static PropertyResourceBundle res = ...
Isaac Duan的博客//后台Mapmap = new HashMap();map.put("result",1);map.put("count",count);JSONObject json = JSONObject.fromObject(map);response.getWriter().print(json.toString());////前台用net.sf.json.JSONObject将java...