首页>代码>java web慧心人力资源管理系统>/src/com/yuki/servlet/StaffInfoListServlet.java
package com.yuki.servlet;

import com.yuki.dao.*;
import com.yuki.staff.*;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * 用户列表控制器
 * @author Ryosetsu_Tsan
 *
 */

@WebServlet("/staffInfoList")
@SuppressWarnings("serial")
public class StaffInfoListServlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        this.doPost(req, resp);
    }

    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        //查询出所有员工信息
//        Staff_Jdbc sj=new Staff_Jdbc();
//        List<Staff> list=sj.select();
//        req.setAttribute("staffInfoList",list);
        req.getRequestDispatcher("/staff_info_list.jsp").forward(req,resp);

    }
}
最近下载更多
long123_356  LV8 2024年12月22日
cong58cong  LV8 2024年6月26日
今晚都别睡啦  LV9 2024年6月1日
微信网友_6906962132258816  LV7 2024年3月22日
RAINK_L  LV3 2023年12月13日
jiemomo  LV12 2023年10月19日
微信网友_6672184532766720  LV3 2023年10月10日
诺一啊啊啊啊啊  LV3 2023年6月15日
KAIzx11  LV7 2023年6月13日
gala209  LV3 2023年2月2日
最近浏览更多
444105047  LV6 1月17日
cxdddd  LV1 2024年12月31日
yongle  LV1 2024年12月31日
long123_356  LV8 2024年12月22日
120_wu  LV4 2024年12月2日
yimaoermao  LV1 2024年11月28日
张泽帅  LV6 2024年10月18日
040313  LV1 2024年10月16日
4324234ty 2024年7月2日
暂无贡献等级
cong58cong  LV8 2024年6月26日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友