자바심화 4일

KHLee·2023년 4월 21일

자바수업

목록 보기
23/46

JSP vs react

jsp, ejs : 서버사이드 렌더링 후 클라이언트 전송.
리액트 : 클라이언트사이드 렌더링. 컴포넌트 구성으로 코드 재사용 쉬움.

https://tecoble.techcourse.co.kr/post/2021-08-07-logback-tutorial/


custDTO정보가 registerok가 center인 index에서 'rcust'이름으로 반영된다.

JSP의 주요 문법
1. jsp directive : 선언부
2. jsp action : <jsp:include 이부분
3. jsp el : "${left}" 이부분
4. jsp jstl : jsp내의 함수선언을 위한 문. if, for등 <c:choose> 부분

       <c:choose> ------------------------------------>jstl
            <c:when test="${left==null}">
                <jsp:include page = "left.jsp"/> ----->action
            </c:when>
            <c:otherwise>
                <jsp:include page = "${left}.jsp"/>
            </c:otherwise>
        </c:choose>








profile
안녕하세요

0개의 댓글