admin/member/List.java
페이지 정보
본문
package admin.member;
import java.io.IOException;
import java.util.ArrayList;
import javax.servlet.RequestDispatcher;
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 dao.AdminMemberDAO;
import model.Member;
@WebServlet("/admin/member/list")
public class List extends HttpServlet {
private static final long serialVersionUID = 1L;
public List() {
super();
}
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
AdminMemberDAO dao = new AdminMemberDAO();
ArrayList<Member> v = dao.getAllMember();
request.setAttribute("v", v);
RequestDispatcher dis = request.getRequestDispatcher("list.jsp");
dis.forward(request, response);
}
}
- 이전글● admin 회원관리 23.03.18
- 다음글admin/member/View.java 23.03.18
댓글목록
등록된 댓글이 없습니다.