|
|
|
|
75
|
res.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
|
75
|
res.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
|
76
|
res.addHeader("Cache-Control", "post-check=0, pre-check=0");
|
76
|
res.addHeader("Cache-Control", "post-check=0, pre-check=0");
|
77
|
res.setHeader("Pragma", "no-cache");
|
77
|
res.setHeader("Pragma", "no-cache");
|
|
|
78
|
res.setCharacterEncoding("UTF-8");
|
78
|
res.setContentType(byJsonp ? "text/html" : "application/json");
|
79
|
res.setContentType(byJsonp ? "text/html" : "application/json");
|
79
|
}
|
80
|
}
|
80
|
|
81
|
|
|
|
|
|
89
|
}
|
90
|
}
|
90
|
|
91
|
|
91
|
private void handleRequest(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
|
92
|
private void handleRequest(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
|
|
|
93
|
req.setCharacterEncoding("UTF-8");
|
92
|
String queryString = req.getQueryString();
|
94
|
String queryString = req.getQueryString();
|
93
|
Map<String, String[]> map = StringUtil.decodeURLQueryString(queryString);
|
95
|
Map<String, String[]> map = StringUtil.decodeURLQueryString(queryString);
|
94
|
Integer cLimit = CachedUploadServlet.parseInt(map.get("countLimit"));
|
96
|
Integer cLimit = CachedUploadServlet.parseInt(map.get("countLimit"));
|