일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 자바
- git
- 호이스팅
- Javascript
- springboot
- pem
- 404error
- pandas
- java
- isNotEmpty
- mysql
- IntelliJ
- 티스토리챌린지
- iBatis
- 오블완
- mssql
- Python
- 명령어
- spring
- 리눅스
- MariaDB
- docker
- DBMS
- github
- Linux
- analytics4
- PostgreSQL
- oracle
- SQL
- Kibana
- Today
- Total
목록분류 전체보기 (415)
hanker
윈도우 서버에 도메인 임시 설정방법 1. 메모장을 관리자 모드로 열기 2. C:\Windows\System32\drivers\etc 폴더에 있는 hosts 파일 열기 3. 메모장 하단에 작성 127.0.0.1 test.hanker.com 4. 저장 후 cmd창에서 ping test.hanker.com 명령어 실행 (127.0.0.1 로 ping 날라가는걸 볼 수 있다.) 5. 웹 브라우저 실행 후 test.hanker.com 접속
- Model 에서 쿼리 실행 후 가공된 데이터 가져오기 $this->load->model('Board_model'); $data['list'] = $this->board_model->boardList(); $this->load->view('TestMenu/test', $data); 1. model의 클래스명 load 2. boardList 메소드에서 가공된 데이터를 'list'에 담음 3. TestMenu/test.php에 데이터 전송
JAVA에도 Spring Framework가 있듯, PHP에도 Framework가 있다. 이제 막 처음 다뤄본 언어지만 (3일차), 생각보다 어렵지 않아 보인다. 우선은 기존 소스를 가지고 이리저리 수정해가면서 파악하고 있는데, Spring처럼 MVC패턴으로 구성되어있다. 헌데 이걸 직접 하나하나 생성해가며 직접 나누고 설정한다고 생각하니까 이것도 초기설정이 매우 힘들겠구나 생각했지만, 이걸 나눠주는 WEB Framework가 있다. 그게 바로 CI(CodeIgniter) 이다. 다운로드도 간단하다. 1. CI 홈페이지 접속 후 다운로드 2. 압축 해제 후 압축 내용 복사, 프로젝트에 붙혀넣기 하면 끝.
1. Spring Security 적용 후 서버에 데이터 전송시 405 에러 발생 - Google 검색 결과 RequestMethod, ajax Type을 맞춰주라고 하는데, 필자는 이상이 없었음. - 계속해서 구글링 결과 - Spring Security를 적용하게 되면 csrf 설정을 해제해야됨을 알았음
1. jsp 최상단에 taglib 작성 2. 패턴 지정

참고 : https://www.youtube.com/watch?v=omJfspwjnZk input[type=text]{ width:100%; border:2px solid #aaa; border-radius:4px; margin: 8px 0; outline: none; padding:8px; box-sizing: border-box; transition:.3s; } input[type=text]:focus{ border-color:dodgerBlue; box-shadow:0 0 8px 0 dodgetBlue; } css 적용 시
체크박스 다중선택 value값 가져오기 $("input[name=tblChk]:checked").each(function(){ var test = $(this).val(); console.log("체크된 값 : " + test); }); 체크박스 다중선택 value값 배열에 담기 var arTest = []; $("input[name=tblChk]:checked").each(function(){ arTest.push($(this).val()); }); console.log("체크된 값 total : " + arTest);
public static void zipDirectory(String dir, String zipfile) throws IOException, IllegalArgumentException{ //파일리스트 가져오기 위해 객체 생성 File d = new File(dir); //디렉토리 존재유무 if(!d.isDirectory()) throw new IllegalArgumentException("Not a directory : " + dir); //해당 경로의 파일을 배열로 가져옴 String[] entries = d.list(); //파일 복사를 위한 버퍼 byte[] buffer = new byte[4096]; int bytesRead; //zip파일을 생성하기 위한 객체 생성 ZipOutputStrea..

1. openlayers js, css 다운로드 https://openlayers.org/download/ OpenLayers - Get the Code If you want to try out OpenLayers without downloading anything (not recommended for production), include the following in the head of your html page: openlayers.org v.6.4.3-dist.zip 다운로드 2. 스프링 프로젝트에 삽입 3. mapView.jsp 소스 Projection EPSG:4326 EPSG:3857 Precision OpenLayers 에 있는 소스는 namespace import형식으로 되어있음. 소스 ..