일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 비교 연산자
- 객체
- 스프링시큐리티 로그아웃
- 배열
- 식별자
- 산술 연산자
- SQL 튜닝
- SpringSecurity 로그아웃
- join
- 오버로딩
- SQL
- 논리 연산자
- 예약어
- 친절한 SQL 튜닝
- 인텔리제이 Web 애플리케이션
- 함수
- 반복문
- @PreAuthorize("isAuthenticated()")
- StringBuffer
- 친절한 SQL
- SQL튜닝
- 상속
- 객체지향
- java
- 이클립스 설치
- 연산자
- 자바의정석
- 오버라이딩
- SpringSecurity 로그인
- spring 게시판 삭제
- Today
- Total
목록spring 게시판 삭제 (2)
gi_dor

@PostMapping("faqRemove") public String remove(Integer faqNo,FaqDTO faqDTO,SearchCondition sc, Model m , RedirectAttributes rattr,@SessionAttribute int mbrId){ try { faqDTO.setRegrId(mbrId); m.addAttribute("sc",sc); System.out.println("faqNo = " + faqNo); faqService.remove(faqNo,faqDTO.getRegrId()); rattr.addFlashAttribute("msg","DEL_OK"); } catch (Exception e) { e.printStackTrace(); rattr.addFl..

1. DB 테이블 2. DTO 3. Mapper 4. DAO 5. Service 6.Controller 7. View / jsp 파일 공지 사항에 있는 글 삭제 하기 ! DB DTO public class NoticeDTO { private Integer notcNo; private String notcTp; private String title; private String content; private Integer viewCnt; private char fixYn; private Date startDttm; private Date endDttm; private Date regDttm; private Integer regrId; private Date updDttm; private Integer upd..