일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- jsp
- spring
- vscode
- github
- 오블완
- jQuery
- myBatis
- 기업설명회
- restapi
- AJAX
- ChatGPT
- JavaScript
- 이클립스
- 자바
- bootstrap
- SQLD
- 스파르타코딩클럽
- SQL
- CSS
- Eclipse
- 티스토리챌린지
- HTML
- Firebase
- java
- 깃허브
- 웹개발
- 코딩
- 배포
- Spring Security
- error
- Today
- Total
목록2024/12/11 (3)
푸들푸들

대륙 추가 시중복 검사(대륙 확인) 후중복: alert('중복')중복X: 대륙추가 에 자동 입력대륙 추가 대륙 입력 대륙 확인 대륙 추가 result = Integer continentCnt (컨트롤러)result = 1 = count = 같은 값이 존재 -> 중복 ***@Mapperpublic interface DBMapper { Integer continentCnt(String continentName);}count 값 받기위해 Integer SELECT COUNT(*) FROM continent WHERE continent_name = #{continentName}@Controllerpublic class HomeController { @GetMappin..

답 선택 -> 결과확인 버튼 -> 정답/오답 -> 점수+1, 버튼 비활성화 --> 반복문 점수 : / 15 결과 확인 부분'btnQ\${index+1}'오류: jquery.min.js:2 Uncaught Error: Syntax error, unrecognized expression: #btnQ${index+1}-> \${index+1}(템플릿 리터럴 문법)이 해석되지 않고 그대로 처리됨 - jQuery--> '#btnQ'+(index+1) : 문자열 연결 연산자 사용 ***@Mapperpublic interface MbtiMapper { String selectMbti(Integer no);} SELECT mbti FROM mbti WHERE no = #{no} @Contro..

계층 구조Mapper@Mapperpublic interface DBMapper { List> continentList(); List> countrytList(int continentId); List> cityList(int countryId);} SELECT continent_id continentId , continent_name continentName FROM continent SELECT country_id countryId , country_name countryName FROM country WHERE continent_id = #{continentId} SELECT city_id cityI..