JSP로 구성할 수 있는 웹 어플리케이션 아키텍쳐는 크게 model1, model2로 나뉜다.이 두 모델의 큰 차이점은 JSP가 결과의 출력 뿐만아니라 요청에 대한 모든 로직들을 처리하는가결과의 출력만을 담당하는가의 차이이다. model1출력을 위한 view코드와 로직 처리를 위한 자바 코드가 함께 있어 JSP코드 자체가 복잡해진다.과거에 많이 사용되었던 아키텍쳐로 간단한 페이지를 구성하거나 빠른 시간 안에 개발하는데 사용되어왔다. model2 JSP에서 모든 요청과 처리를 담당하는 것이 아니라JSP는 view단을 맡고 요청에 대한 흐름제어는 Controller인 서블릿에서 담당하며요청에 대한 로직처리는 Model인 서비스클래스 혹은 자바빈이 담당한다. 즉 model2구조란 MVC(Model-View-C..
[build.gradle]에 보면 depengency부분에 라이브러리를 추가한 모습을 볼 수 있다. [build.gradle]dependencies { implementation('org.springframework.boot:spring-boot-starter-data-jpa') implementation('org.springframework.boot:spring-boot-starter-integration') implementation('org.springframework.boot:spring-boot-starter-jdbc') implementation('org.springframework.boot:spring-boot-starter-security') implementation('org.spring..
* 이클립스에 Server를 세팅하지 않아서 jsp에 생기는 오류"The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path" * 해결 방법 : Server 연결Build Path > Configure Build Path > Java Build path > Libraries탭 > Add Library > Server Runtime > next > 설정된 Apache Tomcat서버 선택 > Finish > apply and close
- Total
- Today
- Yesterday
- 패키지 위치 찾기
- Whitelabel Error Page(404 Not Found)에러
- webprogramming
- SQL 개발툴
- hot swapping
- compileOnly
- Encoding UTF-8
- Apache설치
- 웹서버설치
- DB 툴
- springboot에서 jsp호출
- tomcat 환경변수
- Autoscroll from Source
- EDAILY CODING CHALLENGE
- gradle 종속성
- 이데일리 코딩 챌린지
- 알고리즘
- spring loaded
- java
- 활성화된 파일 위치 찾기
- apache tomcat 설정
- 나눔고딕코딩
- runtimeOnly
- 기초입문
- mysql 연동
- spring 기본 login
- 라이브러리 종속성
- Spring Security
- login page
- eclipse disable welcome page
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |