ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • day52 - JSP(login, memberList)
    KIC/JSP 2021. 8. 27. 23:26
    반응형

    [memberInfo]

    <%@ page language="java" contentType="text/html; charset=UTF-8"
        pageEncoding="UTF-8"%>
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
    </head>
    <body>
    <div class="w3-content " style="width:80%; align-self: center;">
    	<form action="<%=request.getContextPath()%>/member/memberInputPro" 
    	name="f" method="post">
    		<input type="hidden" name="picture" value="">
    		<table   >
    			<caption>회원가입</caption>
    			<tr>
    				<td rowspan="4" valign="bottom"><img src="" width="100"
    					height="120" id="pic"><br> <font size="1"><a
    						href="javascript:win_upload()">사진등록</a></font></td>
    				<td>아이디</td>
    				<td><input type="text" name="id"></td>
    			</tr>
    			<tr>
    				<td>비밀번호</td>
    				<td><input type="password" name="pass"></td>
    			</tr>
    			<tr>
    				<td>이름</td>
    				<td><input type="text" name="name"></td>
    			</tr>
    			<tr>
    				<td>성별</td>
    				<td><input type="radio"  value="1" name="gender" checked>남
    					<input type="radio"  value="2" name="gender" >여</td>
    			</tr>
    			<tr>
    				<td>전화번호</td>
    				<td colspan="2"><input type="text" name="tel"></td>
    			</tr>
    			<tr>
    				<td>이메일</td>
    				<td colspan="2"><input type="text" name="email"></td>
    			</tr>
    			<tr>
    				<td colspan="3"  align="right"><input type="submit"   value="회원가입"></td>
    			</tr>
    		</table>
    		
    	</form></div>
    </body>
    </html>

     

     

     

    [memberUpdate]

    <%@ page language="java" contentType="text/html; charset=UTF-8"
        pageEncoding="UTF-8"%>
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
    </head>
    <body>
    <div class="w3-content " style="width:80%; align-self: center;">
    	<form action="<%=request.getContextPath()%>/member/memberUpdatePro" 
    	name="f" method="post">
    		<input type="hidden" name="picture" value="">
    		<table   >
    			<caption>회원가입</caption>
    			<tr>
    				<td rowspan="4" valign="bottom"><img src="" width="100"
    					height="120" id="pic"><br> <font size="1"><a
    						href="javascript:win_upload()">사진등록</a></font></td>
    				<td>아이디</td>
    				<td>${member.id}</td>
    			</tr>
    			<tr>
    				<td>비밀번호</td>
    				<td><input type="password" name="pass"></td>
    			</tr>
    			<tr>
    				<td>이름</td>
    				<td><input type="text" name="name" value="${member.name}"></td>
    			</tr>
    			<tr>
    				<td>성별</td>
    				<td><input type="radio"  value="1" name="gender" ${memeber.gender=1? 'checked' : ''}>
    					<input type="radio"  value="2" name="gender" ${memeber.gender=2? 'checked' : ''}></td>
    			</tr>
    			<tr>
    				<td>전화번호</td>
    				<td colspan="2"><input type="text" name="tel" value="${member.tel}"></td>
    			</tr>
    			<tr>
    				<td>이메일</td>
    				<td colspan="2"><input type="text" name="email" value="${member.email}"></td>
    			</tr>
    			<tr>
    				<td colspan="3"  align="right"><input type="submit"   value="정보수정"></td>
    			</tr>
    		</table>
    		
    	</form></div>
    </body>
    </html>
    300x250

    'KIC > JSP' 카테고리의 다른 글

    day54 - JSP(공지사항 페이지)  (0) 2021.09.01
    day53 - JSP(사진 추가 페이지)  (0) 2021.08.31
    day51 - JSP(model2, login)  (0) 2021.08.26
    day50 - JSP(model2, login, DBconnection)  (0) 2021.08.26
    day49 - JSP(model2)  (0) 2021.08.25

    댓글

Designed by Tistory.