분류 전체보기 (180) 썸네일형 리스트형 [jQuery] .eq() 사용 요소 찾는법 [jQuery] .eq() 선택한 요소의 인덱스 번호에 해당하는 요소를 찾습니다. .eq() 선택한 요소의 인덱스 번호에 해당하는 요소를 찾습니다. 문법(Syntax) $("선택자").eq("숫자"); 정의(Definition) 선택한 요소의 형제 중 숫자를 통해 선택합니다. 음수를 설정하면 끝을 기준으로 선택합니다. 비교(Compare) .eq() 선택한 요소를 메서드를 통해 선택합니다. :eq() 선택한 요소를 선택자를 통해 선택합니다. Sample1 .eq(index) 형제 요소 중에 숫자를 통해 선택할 수 있습니다. 결과 탐색(Traversing) .eq() 메서드는 선택한 요소에 인덱스 번호에 해당하는 요소를 찾습니다. .filter() 메서드는 선택된 요소에서 선택하거나 함수를 사용할 수 있습.. intelliJ IDEA - 톰캣 러닝 오류. Error running 'AppAdminApplication': Command line is too long. Shorten command line for AppAdminApplication or also for Spring Boot default configuration. 이건 번외인데... build.gradle 에 tika-parser 적용후에 intelliJ에서 톰캣 띄울때 계속 오류가 나서 오류내용 Error running 'Application': Command line is too long. Shorten command line for Application or also for Spring Boot default configuration. Error running 'AppAdminApplication': Command line is too long. Shorten command line for AppAdminApplication or also for Spring Boot default configuration. 외부 파일 로딩하도록 수정했지.. compile f.. [spring] 파일다운로드 구현 개발환경 Eclipse spring, egovFrameWork Tomcat 8.5 oracle 11g 첨부파일을 클릭하면 파일 다운로드가 자동으로 진행될 수 있도록 처리해보겠습니다. 초급 개발자의 이론이므로 간단한 참고만 부탁드립니다. 1. 첨부파일 표출 - 게시판 View 페이지 ${post.title} ${post.writer}  |  ${post.dateWrite} ${post.content} 첨부파일 ${file.filenameReal} ${file.fileSize}Byte 게시판에서 파일 다운로드가 필요한 View페이지 입니다. View페이지로 왔을 때, 이 게시물에 대한 파일 목록을 나타내었습니다. 첨부파일을 클릭하면 downloadFile([파일이름])메소드가 실행되어 파일 다.. intellij 인텔리제이 jdk sdk 버전 변경 SDKs에서 원하는 jdk를 다운로드 Project 에서 원하는 버전 선택, 랭귀지 레벨 설정 세팅에서 자바 컴파일러 설정 그래들에서 jvm 버전 설정 출처 : https://ondolroom.tistory.com/836 [JavaScript] Converting circular structure to JSON(json 형태의 배열 로그 찍기) 해석하자면, 선회하는 구조를 JSON으로 바꾸려고 해서 나는 에러. 모르는 객체가 어떤 값을 담고있나 찍어보려고 하다가 이런 에러를 발견했다. JSON.stringify로 해봤는데 위의 에러가 나와서 선회하는 구조니까 배열인가 싶었다. for문으로 돌리면서 json형태로 바꿔주면 console을 찍을 수 있지 않을까라는 생각이 들었다. 1 2 3 4 // 에러가 나는 객체가 trNode라고 한다면, for (output in trNode){ console.log("노드 값: "+JSON.stringify(output)) } Colored by Color Scripter cs 위와 같이 콘솔을 찍어보니, 잘나온다. 출처 : https://zorba91.tistory.com/246 [Javascript] 반올림(round), 올림(ceil), 내림(floor) - 소수점, 음수,자리수 지정 보호되어 있는 글입니다. 동일한 input name 값 가져오기 버튼FOR 버튼EACH 동일한 NAME이 여러개 생성될 때 참조 하시면 됩니다. 출처: https://choija.tistory.com/63 [수캥이의 삶 ] Inconvertible types; cannot cast 'int' to 'java.lang.String Inconvertible types; cannot cast 'int' to 'java.lang.String ; OR java.lang.Integer cannot be cast to java.lang.String ; 주 오류 발생 원인은 mybatis 에서 resultType이 HashMap 일때, String value = (String) map.get("value"); or String value = (String) message.getInt("value"); 위와 같이 Number(int) 타입을 바로 String 캐스팅 하려고 할때 발생함. 해결방법은 아래와 같이 캐스팅 반환이 아닌 String 클래스의 valueOf(Object) 를 사용하여 처리한다. String.value = String.va.. 이전 1 ··· 14 15 16 17 18 19 20 ··· 23 다음