首页>代码>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) + "");

	}
}
最近下载更多
571818771  LV3 2024年12月16日
3334004690  LV11 2024年6月22日
wkq888  LV17 2024年6月15日
yqlllll  LV2 2024年6月12日
124324343  LV1 2024年6月11日
八八八八  LV1 2024年6月1日
微信网友_6906962132258816  LV7 2024年3月16日
asddwh  LV13 2023年12月29日
微信网友_6797029372219392  LV2 2023年12月28日
ddzfgh  LV1 2023年12月25日
最近浏览更多
付洋麟  LV5 4月23日
571818771  LV3 2024年12月16日
微信网友_7290996505972736  LV4 2024年12月11日
梁小贤  LV1 2024年12月6日
11onerr 2024年11月22日
暂无贡献等级
111rose  LV1 2024年11月22日
asdfgh112 2024年7月4日
暂无贡献等级
时光海  LV2 2024年6月30日
3334004690  LV11 2024年6月22日
zzk3085000785 2024年6月20日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友