#5-1 / thymeleaf로 데이터 출력 1 : text , ArrayList , Map , dao, 조건문 , checked thumeleafhtml에 출력 가능jsp,jstl에 출력 가능 ( jsp,jstl 상위 )spring에서는 잘 안씀 ✅ 설치 application.properties 추가#thymeleaf# 템플릿 캐쉬를 비활성 - 소스를 수정시 바로 새로고침이 이루어짐spring.thymeleaf.cache=false # 템플릿 뷰를 이용하여 resources의 디렉토리를 활성화하여 사용함spring.thymeleaf.check-template-location=truespring.thymeleaf.enabled=true# view 경로를 말함spring.thymeleaf.prefix=classpath:/templates/# view 파일 속성명spring.thymeleaf.suffix=.html# view에서 사.. 2024. 8. 20. #4-2 / Bootstrap - 회원가입 bootstrap example/checkout 가져옴 👀 NICE 인증 보안 👎 실제론 돈주고 라이브러리 다운받아서 같이 사용 - jsp 회원가입 회원가입 샘플 페이지 MEMBERSHIP 고객명 아이디 패스워드 패스워드 확인 연락처 인증 확인 이메일 주소 입력 주소찾기 캐릭터 이미지(Optional) 회원가.. 2024. 8. 19. #4-1 / Spring boot - 파일 업로드 2가지 방식1. @RequestParam 형태의 파일 업로드 기능 2. @RequestPart 형태의 파일 업로드 기능 application.properties#file I/O#업로드 기능을 사용함spring.servlet.multipart.enabled=true #파일 하나의 최대 사이즈spring.servlet.multipart.max-file-size=4MB#Multi 형태 - 여러개의 파일 업로드시 전체 합계 크기spring.servlet.multipart.max-request-size=10MB 👀 1. @RequestParam 형태의 파일 업로드 기능 - fileupload.jsp 단일 파일 업로드 : - controller@PostMapping("/fileuploadok... 2024. 8. 19. #3-1 / 회원 로그인 (외부 로그인 API 연동) with bootstrap , kakao bootstrap 4.6.2 css,js압축풀고 webapp에 복붙 끝 https://getbootstrap.com/docs/4.6/getting-started/download/ kakao - 버튼 이미지 다운 https://developers.kakao.com/docs/latest/ko/kakaologin/design-guide 여기서 디자인 리소스 다운 후 프로젝트에 복붙 -> jsp에 이미지 넣음 - 내 어플리케이션 추가 내어플리케이션에서- 왼쪽 nav 의 허용 IP 주소 - cmd ipconfig로 ip / naver에서 검색한 내 ip / 127.0.0.1 복붙 - 왼쪽 nav 의 플랫폼 - web 플랫폼 등록 - http://local.. 2024. 8. 14. 이전 1 ··· 11 12 13 14 15 16 17 ··· 77 다음