ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • [MessageSystem] Select.jsp
    JSP Servlet 2022. 7. 15. 14:46
    <%@page import="com.smhrd.model.MemberVO"%>
    <%@page import="java.util.ArrayList"%>
    <%@page import="com.smhrd.model.DAO"%>
    <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
    <!-- 1.request영역에 저장된 정보를 가져오시오. -->
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
       <head>
          <title>Forty by HTML5 UP</title>
          <meta charset="UTF-8" />
          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
          <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
          <link rel="stylesheet" href="assets/css/main.css" />
          <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
          <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
          
       </head>
       <style>
       
       </style>
       <body style="text-align: center;">
       <%
       	DAO dao = new DAO();
       	ArrayList<MemberVO> list = dao.showMember();
       %>
          <!-- Wrapper -->
             <div id="wrapper">
                <!-- Menu -->
                   <nav id="Update">   
                      <table>
                         <caption><h2>회원관리페이지</h2></caption>
                         <tr>
                            <td>Email</td>
                            <td>Tel</td>
                            <td>Address</td>
                            <td>회원 삭제</td>
                                        
                         </tr>
                        
                         <%for(int i=0;i<list.size();i++){ %>
                         <tr>
                         	<td><%=list.get(i).getEmail() %></td>
                         	<td><%=list.get(i).getPhone() %></td>
                         	<td><%=list.get(i).getAddress() %></td>
                         	<td> <a href="DeleteService.do?email=<%= list.get(i).getEmail()%>">삭제</a></td>
                        </tr>
                         <%} %>
                        
                         <!-- 2.모든 회원의 이메일(email),전화번호(tel),주소(address)를 출력하시오. -->
                      </table>
                   </nav>      
                   <a href="main.jsp" class="button next scrolly">되돌아가기</a>   
             </div>
          <!-- Scripts -->
             <script src="assets/js/jquery.min.js"></script>
             <script src="assets/js/jquery.scrolly.min.js"></script>
             <script src="assets/js/jquery.scrollex.min.js"></script>
             <script src="assets/js/skel.min.js"></script>
             <script src="assets/js/util.js"></script>
             <!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
             <script src="assets/js/main.js"></script>
       </body>
    </html>

     

    'JSP Servlet' 카테고리의 다른 글

    [MessageSystem] WriterBoard.jsp  (0) 2022.07.15
    [MessageSystem] BoardMain.jsp  (0) 2022.07.15
    [MessageSystem]Update.jsp  (0) 2022.07.15
    [MessageSystem] Join_Success.jsp  (0) 2022.07.15
    [MessageSystem] Main.jsp  (0) 2022.07.15

    댓글

Designed by Tistory.