본문 바로가기

SpringBoot25

Spring-Boot Blog Project 10. 삭제에 작성자 확인해서 권한 부여하기 Spring-Boot Blog Project 9. 상세페이지 구현, 수정 삭제 구현 Spring-Boot Blog Project 9. 상세페이지 구현, 수정 삭제 구현 이전 포스트 >> Spring-Boot Blog Project 8. 메인페이지에 글 노출 구현하기 > Spring-Boot Blog Project 7. 글쓰기 구현하기 이제 홈페이지에 접속할때는 세션을 통해 인증이 없으면 로그인을 반드시 하도록 유 itstudy-mary.tistory.com /controller/PostController.java private final PostRepository postRepository; @DeleteMapping("/post/{id}") public @ResponseBody CommonRespDto.. 2020. 7. 27.
Spring-Boot Blog Project 9. 상세페이지 구현, 수정 삭제 구현 이전 포스트 >> Spring-Boot Blog Project 8. 메인페이지에 글 노출 구현하기 Spring-Boot Blog Project 8. 메인페이지에 글 노출 구현하기 이전 페이지 >> Spring-Boot Blog Project 7. 글쓰기 구현하기 이제 홈페이지에 접속할때는 세션을 통해 인증이 없으면 로그인을 반드시 하도록 유도할 것이다. 옵션을 통해 /post나 /user 등의 주소를 가지 itstudy-mary.tistory.com 앞서 포스트에서 index에 a태그를 걸었었다. --중략-- ${post.title } --하략-- 이 uri를 통해 이 id값을 가지는 게시글의 세부사항을 도출한다. 먼저, 세부사항을 도출할 페이지를 생성한다. ../views/post/detail.jsp .. 2020. 7. 27.
Spring-Boot Blog Project 8. 메인페이지에 글 노출 구현하기 이전 페이지 >> Spring-Boot Blog Project 7. 글쓰기 구현하기 이제 홈페이지에 접속할때는 세션을 통해 인증이 없으면 로그인을 반드시 하도록 유도할 것이다. 옵션을 통해 /post나 /user 등의 주소를 가지고 있다면 세션 인터셉터를 거쳐 세션이 없다면 로그인을 유도할 것이다 세션 인터셉터에 대한 포스트 https://itstudy-mary.tistory.com/211 Spring-Boot Blog Project 5. 권한, 인증 체크하기 이전 게시물 여기 >> Spring-Boot Blog Project 4. 로그인 화면 구현하기 Spring-Boot Blog Project 4. 로그인 화면 구현하기 이전 글 Spring-Boot Blog Project 3. 회원가입 화면 구현하기.. 2020. 7. 27.
Spring-Boot Blog Project 7. 글쓰기 구현하기 이전 포스팅 Spring-Boot Blog Project 6. 로그아웃 구현하기 Spring-Boot Blog Project 6. 로그아웃 구현하기 이전 게시글 >> Spring-Boot Blog Project 5. 권한, 인증 체크하기 > Spring-Boot Blog Project 4. 로그인 화면 구현하기 Spring-Boot Blog Project 4. 로그인 화면 구현하기 이전 글 Spring-Boot Blog Project 3... itstudy-mary.tistory.com 먼저 글을 쓸 수 있는 페이지를 만든다. ...views/post/saveForm.jsp Title: Content: 글쓰기 완료 이 페이지로 이동하는 로직을 컨트롤러에서 코딩한다. /controller/PostContr.. 2020. 7. 27.
반응형