특정 권한으로 접근시 조회만 되고 수정을 할 수 없게 처리해야 한다. 모든 select 박스 고정시키고 input에 걸린 이벤트랑 버튼에 걸린 것들 제거 if(!isUpdatable){ $('select').attr('disabled', true); $("#formVue input").attr('onclick', '').unbind('click'); $("#formVue span").attr('onclick', '').unbind('click'); } 위처럼 해서 해결~~~
이번달 popover, modal 관련 이벤트 Modal Events Event Description show.bs.modal Occurs when the modal is about to be shown shown.bs.modal Occurs when the modal is fully shown (after CSS transitions have completed) hide.bs.modal Occurs when the modal is about to be hidden hidden.bs.modal Occurs when the modal is fully hidden (after CSS transitions have completed)
일부 페이지 IE 8에서 볼 수 있게 해달라는 요청을 받음. 1. bootstrap -ie8 관련 소스 다운로드 https://github.com/coliff/bootstrap-ie8 coliff/bootstrap-ie8 Bootstrap 4 for IE8 and IE9. Contribute to coliff/bootstrap-ie8 development by creating an account on GitHub. github.com 2. jquery 1.12 다운로드 https://blog.jquery.com/2016/02/22/jquery-1-12-1-and-2-2-1-released/ jQuery 1.12.1 and 2.2.1 Released | Official jQuery Blog jQuery 1..
Spring Boot, RestTemplate으로 API 호출 시 에러 상태 1. 업체의 Rest Service 운영에서 토큰 정보를 가져온다. -> 성공2. 업체의 Rest Service 개발에서 토큰 정보를 가져온다. -> 실패 에러 메시지 org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://xxx.xxx.com/security/auth/token": Received fatal alert: handshake_failure; nested exception is javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_fa..
시스템이 갑자기 죽어서 로그를 보니 ... 다운로드를 클릭했는데 아무런 화면의 변화가 없으니 연달아 5번을 클릭했네요. 하필 그때 또 메모리를 엄청 잡아 먹는 요청이 날아 갔고... 일단 이중 요청을 막고 요청시 spinner를 보여 주기로 했습니다. 단순히 이중 요청 막는 것은 간단한 플래그하나 심으면 될 듯합니다. 12345678910var isProcess = false;function doSomething(){ if(isProcess){ alert(처리 중입니다. 나중에 다시 하세요"); return; } isProcess = true; ... ...} Colored by Color Scriptercs 그런데 ... 요청의 결과를 알 수가 없습니다. location.href 라니 ... 123fu..
기존 소스를 보면 FileOutputStream 을 생성하고 엑셀 파일을 만든 후 다운로드 처리를 합니다. 그런데 엑셀 파일을 생성하는 중에 OutOfMemory가 발생했습니다. 해당 소스가 직접적인 원인은 아니지만 개선의 여지가 있습니다. 파일을 생성하고 그걸 다운로드로 연결해서 다시 파일을 읽고 다운로드하던 것을 바로 다운로드 하게끔 바꿨습니다. 234567891011 XSSFWorkbook workbook = new XSSFWorkbook(); ... String filename = "customer_"+System.currentTimeMillis()+".xlsx"; response.setContentType("application/vnd.ms-excel"); response.setHeader("C..
"/"로 접근시 특정 html 페이지로 리다이렉트를 시키고 싶었습니다. 기존 소스 12345678@Controllerpublic class WelcomeController { @GetMapping("/") public String index() { return new "redirect:/apidocs/index.html"; }}Colored by Color Scriptercs예전엔 별 문제가 없었는데 spring boot 2.x에서는 에러가 납니다. 아래처러 고치니 정상 작동합니다. 12345678@Controllerpublic class WelcomeController { @GetMapping("/") public RedirectView index() { return new RedirectView("/..
Gradle에서 자주 사용하는 plugin 정보와 내용입니다. 출처 Gradle :: java library plugin - https://docs.gradle.org/4.10.2/userguide/java_library_plugin.html#java_library_plugin Table 1. Java Library plugin - configurations used to declare dependencies Configuration name Role api Declaring API dependencies implementation Declaring implementation dependencies compileOnly Declaring compile only dependencies runtimeOnly..
환경 - gradle-5.2.1- spring boot 2.1.3.release- jdk 1.8 - eclipse Gradle 빌드시 Lombok으로 처리하던 getter, setter, log 쪽이 모두 컴파일 오류가 납니다. 구글 검색을 해보고 annotationProcessor, compileOnly 설정으로 해결했습니다. 1234567 dependencies { annotationProcessor("org.projectlombok:lombok:${lombokVersion}") compileOnly("org.projectlombok:lombok:${lombokVersion}") implementation 'org.springframework.boot:spring-boot-starter-web' ....
1. Overview ZUUL은 넷플릿스에서 사용 하는 JVM 기반의 라우터로 마이크로 서비스에서 라우팅, 모니터링, 에러처리, 보안 등을 담당한다. 출처 : https://medium.com/netflix-techblog/announcing-zuul-edge-service-in-the-cloud-ab3af5be08ee 만약 GATEWAY를 직접 개발해야 한다면 ... - 요청 메소드(GET/POST/PUT/DELETE)에 따라 값을 처리하는 것을 구현해야 한다. - 요청할 때 값은 KEY, VALUE의 파라미터 형태일 수도 있고 REQUEST BODY 형태일 수도 있다. - 요청에 따라 전달 하는 API 서버에 주소로 전달을 해야 한다. - API 주소는 "/USER/{USER_ID}" 이런식으로 동적..
- Total
- Today
- Yesterday
- 예제
- AG-GRID
- 스프링
- listToMap
- lombok
- thymeleaf
- REST
- Spring Boot
- oracle
- mybatis
- sample
- SHEETJS
- UI
- mapToList
- RESTful
- 샘플
- example
- 설정
- spring
- 메시지
- 스프링부트
- java
- ag grid
- restful서비스
- cache
- Javascript
- 타임리프
- 엑셀
- springboot
- 그리드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |