Open ins0320 opened 10 months ago
23.12.04 [web front] name태그
강아지 or 고양이
<label for="dog">강아지</label>
<input type="radio" id="dog" name="animal" value="dog">
<label for="dog">고양이</label>
<input type="radio" id="cat" name="animal" value="cat">
취미는 무엇입니까?
<input type="text" name="hobby"><br><br>
id태그
<label for="mintcho">민트초코</label>
<input type="checkbox" id="mintcho" name="food" value="민트초코">
23.12.06
for (Map<String,Object> item: list){
if( search.equals(item.get("menu"))){
if(checkPoint!= null && checkPoint.equals("true") && (double)item.get("point") <= 4.0){
continue; //아래 코드 수행하지 않고 skip
}
%>
<tr>
<td> <%= item.get("menu") %></td>
<td> <%= item.get("name")%></td>
<td> <%= item.get("point") %></td>
</tr>
<%
}
} %>
JSP에서 Template 구성하기 (1) 정적(static) 방식 - JSP Include Directive: 코드 분할하여 완전히 합친다. -> 기본 html태그 제거하기(메인 페이지에 이미 태그들 선언 되니까) (2) 동적 방식 - Action Tag
23.12.01 < jsp 동작 방식 >