Jsp
JSP 예제 : 셀렉트 박스
Khookie
2021. 6. 19. 22:37
<select name="year">
<option SELECTED value="1990">1990</option>
<option value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1993</option>
<option value="1994">1994</option>
<option value="1995">1995</option>
<option value="1996">1996</option>
</select>
<form name=student method=post action=student.jsp >
<select name="year">
<option SELECTED value="1990">1990</option>
<option value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1993</option>
<option value="1994">1994</option>
<option value="1995">1995</option>
<option value="1996">1996</option>
</select>
<td align="center"> <input type="submit" value="입력완료" > </td>
</form>