<%@ page contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>jsptest005.jsp</title>
</head>
<body>
<div>
<h1>JSP 관찰하기</h1>
<hr>
</div>
<div>
<h2>HttpServlet 관련 실습</h2>
<!-- ※ form 태그의 action 속성은 데이터 전송 및 페이지 요청을 해야하는 대상 페이지를
등록하는 기능을 수행한다. 생략 시 데이터 전송 및 페이지 요청을 하게 되는
대상은 자기 자신이 된다. -->
<form action="/WebApp04/login" method="get">
<table>
<tr>
<th>아이디</th>
<td>
<input type="text" name="userId" size="10" maxlength="10" class="txt">
</td>
</tr>
<tr>
<th>패스워드</th>
<td>
<input type="password" name="userPwd" size="10" class="pwd">
</td>
</tr>
<tr>
<td colspan="2">
<!-- submit 액션 → form 데이터 전송 및 페이지 요청 -->
<input type="submit" value="로그인" class="btn control" style="width: 92px">
<input type="reset" value="다시입력" class="btn control" style="width: 92px">
</td>
</tr>
</table>
</form>
</div>
</body>
</html>
728x90
'WEB Archive' 카테고리의 다른 글
[HTML] jsp - 스크릿 릿 영역에서 기초 실습 (0) | 2024.08.21 |
---|---|
[HTML] jsp - 스크립 릿 선언부 <%! %> (0) | 2024.08.21 |
[HTML] HttpServlet 의 응답 (0) | 2024.08.21 |
[HTML] JSP - Redirect 실습 (0) | 2024.08.21 |
[HTML] Javascript - document.write(), 임의 변수 선언 실습 (0) | 2024.08.21 |
댓글