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

오늘도 야무지게 프로젝트 관리자 게시판 만들고 있었다. 해당글에 page로 이동은 되는데 제목 , 내용 등등 값이 넘어오지 않음. BOS_Faq.jsp Controller @Controller @RequestMapping(ViewPath.BOS) public class BOS_FaqController { @Autowired BOS_FaqService faqService; @GetMapping("faqRead") public String read(Integer faqNo, Model m ,SearchCondition sc) throws Exception{ try { System.out.println("faqNo = " + faqNo); FaqDTO faqDTO = faqService.read(faqNo);..
400에러 400 Bad Request 응답 상태 코드는 서버가 클라이언트 오류 (예: 잘못된 요청 구문, 유효하지 않은 요청 메시지 프레이밍, 또는 변조된 요청 라우팅) 를 감지해 요청을 처리할 수 없거나, 하지 않는다는 것을 의미 프로젝트 관리자 공지사항 게시판 작성중 날짜 설정 때문에 알게 된건데 Date, LocalDate, LocalDateTime 모두 날짜와 시간을 표현하기 위한 클래스라고 한다 게다가 LocalDate, LocalDateTime 은 Java8 이후 도입되었다 하여 바로 LocalDateTime사용 LocalDateTime인 타입을 JSP에서 el로 출력했더니 날짜와 시간 사이에 ‘T’라는 문자열이 껴서 출력이 되었다. 찾아보니 LocalDateTime은 날짜와 시간을 T 문자..

Mapper INSERT INTO notice NOTC_TP, TITLE, CONTENT, START_DTTM, END_DTTM) VALUES (#{notcTp}, #{title}, #{content}, #{startDttm}, #{endDttm}) DTO private Integer notcNo; private String notcTp; private String notcTpNm; private String title; private String content; private Integer viewCnt; private Date startDttm; private Date endDttm; private Date regDttm; private Integer regrId; private Date updDtt..

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..