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); } }
最近下载更多
微信网友_6906962132258816 LV4
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日
caohanren LV11
2022年12月17日
微信网友_6255730581377024 LV1
2022年12月14日
exkikk LV1
2022年12月12日
最近浏览更多
微信网友_6906962132258816 LV4
3月22日
quartz LV7
3月13日
阿卡丽 LV3
2月7日
gxxxxx
1月25日
暂无贡献等级
heshao LV2
1月24日
kaye7549317
1月16日
暂无贡献等级
咦山尽jin
1月11日
暂无贡献等级
zhangjilu LV18
1月7日
暂无贡献等级
hxy19991216 LV4
2023年12月29日