1.后台如何获取 jquery get方式的ajax的参数

1. update.jsp

1.后台如何获取 jquery  get方式的ajax的参数

1.2 默认是dataType是json

	getJSON: function( url, data, callback ) {
		return jQuery.get(url, data, callback, "json");
	}

2.

1.后台如何获取 jquery  get方式的ajax的参数

3.

1.后台如何获取 jquery  get方式的ajax的参数

3.2

    protected void writeJSON(Object obj) {
        try {
            String json = mapper.writeValueAsString(obj);
            HttpServletResponse response = ServletActionContext.getResponse();
            response.setContentLength(json.getBytes(utf8).length);
            response.setContentType("application/json;charset=UTF-8");
            response.getWriter().write(json);
        } catch (Exception e) {
            e.printStackTrace();
            throw new RuntimeException(e);
        }
    }