<form name="fo" method="get" action="페이지">
<input type="submit">
</form>
<h3>예재</h3>
<form action="a06_rev.jsp" method="post" target="frame01">
물건명 : <input type="text" name="pname"><br>
가격 : <input type="text" name="price"><br>
<input type="submit" value="물건등록"><br><br>
</form>
<iframe name="frame01"
srcdoc="<html><h3>여기에 물품 정보 출력</h3></html>"
width="50%" height="100"></iframe>
<h3>로그인(예재)</h3>
<form action="a07_loginResult.jsp" method="post" target="frame02">
아 이 디 : <input type="text" name="id"><br>
비밀번호 : <input type="password" name="pass"><br>
<input type= "submit" value="로그인"><br><br>
</form>
<iframe name="frame02" width="20%" height="120"
srcdoc="<h3>로그인 결과</h3>"></iframe>
## a07_loginResult.jsp
<h5>아이디 : ${param.id }<br> 비밀번호 : ${param.pass } </h5>
<h5> ${param.id=='himan' and param.pass=='7777'?'로그인성공':'로그인실패' }</h5>
## jsp 파일 내에서
<h3>로그인</h3>
<form method="post">
아 이 디 : <input type="text" name="id"><br>
비밀번호 : <input type="password" name="pass"><br>
<input type= "submit" value="로그인"><br><br>
</form>
<h3>로그인 결과</h3>
<h4>아이디:${param.id }</h4>
<h4>비밀번호:${param.pass }</h4>
<h4>${param.id=='himan' and param.pass=='7777'?'로그인성공':'로그인실패' }</h4>