-
스크립트 릿
<% %>
표현식
<%= %>
선언부
<%! %>
다음과 같이 스크립트 릿에서 스크립트를 만들고 표현식에서 스크립트 릿의 요소를 사용할 수 있다.
- 선언부를 사용하면 내부에 메소드를 제작해서 사용할 수 있다.
'JSP' 카테고리의 다른 글
Get 방식 전송과 Post 방식 전송 (0) 2023.03.21 Request 기본 객체 (0) 2023.03.20 JSP 의 구성요소 (0) 2023.03.20 JSP 생성 프로젝트, 실행 (0) 2023.03.20 웹 프로그래밍 기초 (0) 2023.03.20