register.jsp 글쓰기 제목 작성자 내용 파일 업로드 등록 취소 detail.jsp No. 제목 작성자 작성일 ${bvo.readCount } 수정일 내용 수정 삭제 목록 ${authEmail } 등록 등록 Writer 댓글등록일 content 댓글 더보기 ${authEmail } 등록 닫기 boardComment.js console.log('boardComment.js in~!!'); console.log(bnoVal); console.log(userEmail); document.getElementById('cmtPostBtn').addEventListener('click',()=>{ const cmtText = document.getElementById('cmtText'); if(cmtText..
CustomAuthMemberService.java package com.basicWeb.www.security; import javax.inject.Inject; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.core.userdetails.UsernameNotFoundException; import com.basicWeb.www.repository.MemberDAO; import lombok.RequiredArgsConstructor; im..
register.jsp 회원가입 E-mail Password Nickname SignUp MemberController.java package com.basicWeb.www.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import com.basicWeb.www.security.MemberVO; import com.bas..
MemberController.java package com.basicWeb.www.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import com.basicWeb.www.service.MemberService; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; @Slf4j @Controller @RequiredArgsConstructor @Re..
sql CREATE TABLE member ( email VARCHAR(100) NOT NULL, pwd VARCHAR(1000) NOT NULL, nick_name VARCHAR(100) NOT NULL, reg_at DATETIME DEFAULT now(), last_login DATETIME DEFAULT NULL, PRIMARY KEY(email) ); CREATE TABLE auth_member( email VARCHAR(100) NOT NULL, auth VARCHAR(50) NOT NULL ); ALTER TABLE auth_member ADD CONSTRAINT fk_auth FOREIGN KEY (email) REFERENCES member(email); pom.xml org.spring..