首页>代码>jsp+servlet+jdbc开发学生信息后台管理系统>/学生管理系统/Student/src/cla2sub/servlet/GetCountPageServlet.java
package cla2sub.servlet;

import impl.Cla2SubImpl;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class GetCountPageServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;

	public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		// TODO Auto-generated method stub
		this.doPost(req, resp);
	}

	public void doPost(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		// TODO Auto-generated method stub
		// 异步查询班级课程获取总页数
		Cla2SubImpl cla2SubImpl = new Cla2SubImpl();
		String search_type = request.getParameter("search_type");
		String search_value = java.net.URLDecoder.decode(request
				.getParameter("value"), "UTF-8");
		response.getWriter().write(
				cla2SubImpl.getCountPage(search_type, search_value) + "");

	}
}
最近下载更多
asddwh  LV12 2023年12月29日
微信网友_6797029372219392  LV2 2023年12月28日
ddzfgh  LV1 2023年12月25日
微信网友_6786215447367680  LV4 2023年12月23日
陈煌锐  LV1 2023年12月14日
hongdongdong  LV12 2023年6月27日
不想打代码的小林111  LV1 2023年6月14日
abcdef_wtx  LV1 2023年6月8日
www111111111  LV2 2023年5月23日
最近浏览更多
Nuyoah_L 1月3日
暂无贡献等级
微信网友_6797029372219392  LV2 2023年12月28日
smysmy 2023年12月28日
暂无贡献等级
lx123456000  LV3 2023年12月27日
磊哥哥哥哥  LV13 2023年12月26日
asddwh  LV12 2023年12月26日
ddzfgh  LV1 2023年12月25日
微信网友_6786215447367680  LV4 2023年12月20日
ziv5466123  LV7 2023年12月15日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友