问题描述
解决方案
public class Controller extends HttpServlet {
protected void doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
String s = req.getParameter("a");
resp.setContentType("text/xml");
resp.setHeader("Cache-Control", "no-cache");
resp.getWriter().write(s);
}
}
http://download.csdn.net/download/dynastqin/4926624
解决方案二:
利用jquery的datatable插件可以实现请求数据和分页。参考这个。http://www.tuicool.com/articles/NBBnum
时间: 2024-10-29 21:33:16