태그 파일 태그 파일 활용 예제 참조 : Developing Custom Tag Libraries as Tag Files 1. JSP 조각 태그 파일로 넘겨주기– attribute의 fragment 사용하면 돼. <%@ page contentType=”text/html” %> <%@ taglib prefix=”my” tagdir=”/WEB-INF/tags/mytags” %> <%@ taglib prefix=”
태그 파일 태그 파일 참조Easy Custom Tags with Tag Files, Part 1Easy Custom Tags with Tag Files, Part 2 JSP 2.0 이전의 커스텀 태그 사용법1. 핸들러를 작성하고 컴파일 한다.2. 태그 핸들러와 관련된 태그를 정의한다. 그러나 태그 파일은 미리 컴파일 할 필요 없다. 호출 되는 순간 컴파일
JSP 기초 JavaServer Pages Standard Tag Library 참조: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/ 총 다섯 종류의 표준 태그 라이브러리 제공. # Core: http://java.sun.com/jsp/jstl/core# XML: http://java.sun.com/jsp/jstl/xml# Internationalization: http://java.sun.com/jsp/jstl/fmt# SQL: http:
모델 1방식 1. JSP Foundation Understanding HTTP– Http Uses TCP/IP– 요청(request)와 응답(response)가 HTTP의 핵심– HTTP 요청의 구성 : 헤더, 폼데이타, 두 종류 있다.(GET – 서버로 부터 데이터를 가져올 때 사용, POST – 서버에 데이터를 추가/수정 할 때 사용)– HTTP