JSP
이클립스 다운로드
Eclipse Packages | The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 350 open source pro
520 MB 197,629 DOWNLOADS Tools for developers working with Java and Web applications, including a Java IDE, tools for JavaScript, TypeScript, JavaServer Pages and Faces, Yaml, Markdown, Web Services, JPA and Data Tools, Maven and Gradle, Git, and more. Cli
www.eclipse.org
아파치 톰캣 9 버전 다운로드
Apache Tomcat® - Apache Tomcat 9 Software Downloads
Welcome to the Apache Tomcat® 9.x software download page. This page provides download links for obtaining the latest version of Tomcat 9.0.x software, as well as links to the archives of older releases. Unsure which version you need? Specification version
tomcat.apache.org
워크스페이스 생성 및 설정
▼ 만약 서버를 실행시켰는데 에러가 출력된다면 사용하려는 포트 번호가 겹친 경우!! ▼
인코딩 방식 변경
JSP 기본 태그
스크립트릿
주석
표현식
선언문
메소드는 선언문에서만 생성할 수 있다!
지시자
( 아래서 자세하게 다룸 )
경로 이동 방식
새로운 dynamic web project 생성
절대경로와 상대경로 사용 방식
Get 방식, Post 방식
!!! post 방식으로 값을 넘길땐 받는 쪽에서 인코딩 방식을 꼭 명시해주기 !!!
지시자
page 지시자
include 지시자
taglib 지시자
실습 예제
예제 풀이
Request / Response
반환형태는 Enumeration<String> 형태이며 while 문을 사용하여 다음 내용이 있는지 확인하여 nextElement() 메소드를 사용하여 변수로 해당 파라미터명을 담아서 사용한다.
'BE > JSP' 카테고리의 다른 글
[JSP] JSTL - 파라미터 값 받기 (0) | 2024.05.01 |
---|---|
[JSP] EL ( Expression Language ), JSTL ( if, for, exception ) (1) | 2024.05.01 |
[JSP] 액션 태그, bean 객체 활용 (0) | 2024.04.30 |
[JSP] DB 연동 (1) | 2024.04.30 |
[JSP] response, scope, cookie, session, popup (3) | 2024.04.30 |