|
|
|
@ -2,6 +2,7 @@ package servlet.admin;
|
|
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.io.PrintWriter;
|
|
|
|
|
import java.sql.Connection;
|
|
|
|
|
import java.sql.PreparedStatement;
|
|
|
|
|
import java.sql.ResultSet;
|
|
|
|
|
import java.sql.SQLException;
|
|
|
|
@ -12,8 +13,6 @@ import javax.servlet.http.HttpServlet;
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
|
|
|
|
import java.sql.Connection;
|
|
|
|
|
|
|
|
|
|
import javabean.Base;
|
|
|
|
|
import net.sf.json.JSONArray;
|
|
|
|
|
import net.sf.json.JSONObject;
|
|
|
|
@ -25,7 +24,7 @@ import net.sf.json.JSONObject;
|
|
|
|
|
public class CardList extends HttpServlet {
|
|
|
|
|
@Override
|
|
|
|
|
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
|
|
|
|
|
resp.setContentType("application/json; charset:utf8");
|
|
|
|
|
resp.setContentType("application/json; charset=utf8");
|
|
|
|
|
// 接收参数
|
|
|
|
|
String limit = req.getParameter("limit");
|
|
|
|
|
String page = req.getParameter("page");
|
|
|
|
|