39_01단계_oracle_MVC(회원관리)_01 가입화면
2022. 1. 23. 23:50ㆍksmart_jsp/07_jsp_java_MVC_model02_Oracle
728x90
목록
00 Oracle서버 구축 및 화면연결
01 가입화면
02 가입처리
03 리스트
04 입력화면
05 입력처리
06 상세보기
07 답글등록화면
08 답글등록처리
09 수정화면
10 수정처리
11 삭제화면
12 삭제처리
| 폴더명 | minsert |
| jsp명 | m_insert_form |

<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body>
<form action="<%= request.getContextPath() %>/minsert/m_insert_action.jsp" method="post">
<table border="1">
<tr>
<td>아이디</td>
<td><input type="text" name="m_id" size="20"></td>
<tr>
<tr>
<td>암호</td>
<td><input type="text" name="m_pw" size="20"></td>
<tr>
<tr>
<td>권한</td>
<td><input type="text" name="m_level" size="20"></td>
<tr>
<tr>
<td>이름</td>
<td><input type="text" name="m_name" size="20"></td>
<tr>
<tr>
<td>이메일</td>
<td><input type="text" name="m_email" size="20"></td>
<tr>
<tr>
<td colspan="4"><input type="submit" value="회원가입버튼"></td>
</tr>
</table>
</form>
</body>
</html>
입력처리 경로로 변경

<form action="<%= request.getContextPath() %>/Min/m_insert_pro.ksmart_m" method="post">
name 변경

doPost 실행, command 에 담긴 /Min/m_insert_pro.ksmart_m

<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body>
<form action="<%= request.getContextPath() %>/Min/m_insert_pro.ksmart_m" method="post">
<table border="1">
<tr>
<td>아이디</td>
<td><input type="text" name="ora_id" size="20"></td>
<tr>
<tr>
<td>암호</td>
<td><input type="text" name="ora_pw" size="20"></td>
<tr>
<tr>
<td>권한</td>
<td><input type="text" name="ora_level" size="20"></td>
<tr>
<tr>
<td>이름</td>
<td><input type="text" name="ora_name" size="20"></td>
<tr>
<tr>
<td>이메일</td>
<td><input type="text" name="ora_email" size="20"></td>
<tr>
<tr>
<td colspan="4"><input type="submit" value="회원가입버튼"></td>
</tr>
</table>
</form>
</body>
</html>
728x90
'ksmart_jsp > 07_jsp_java_MVC_model02_Oracle' 카테고리의 다른 글
| 39_01단계_oracle_MVC(회원관리)_02 가입처리 (0) | 2022.01.23 |
|---|---|
| 39_01단계_oracle_MVC(회원관리)_00 Oracle서버 구축 및 화면연결 (0) | 2022.01.23 |