일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- jdk
- Spring
- Intellij
- javascript
- reactjs
- 쿼리
- mssql
- React
- Vue
- EXTJS
- JS
- 스프링
- table
- java
- 자바
- DATABASE
- restapi
- 개발
- GIT
- 자바스크립트
- 스프링부트
- springboot
- 컴포넌트
- 리액트
- component
- 보안취약점
- sql
- 데이터베이스
- 개발공부
- crud
- Today
- Total
목록분류 전체보기 (146)
준준의 기록일지
CMD dsadd로 AD계정을 생성할 수 있다. 여러 방법이 있지만, 가장 익숙한 for문을 사용하기로 결심.. 100개의 test계정 만들기. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 public class ad_account_create { public static void main(String[]args) { int account = 1; String temp2 = null; for(int i=0; i
//jh.won 시스템 메세지 프로퍼티에 추가. ArrayList message_list= new ArrayList(); OutputStream output=null; List sysLanguage = systemService.getSysLangauge(); if(sysLanguage != null && !sysLanguage.isEmpty()) { for(SysLanguage sysLang : sysLanguage) { String value = sysLang.getLangValue(); if(sysLang.getLangLocale().contains("ko")) { if(value != null && !value.isEmpty()) { value = AESCrypt.Decrypt(value); } }..
private static ResourceBundle fromClassLoader(String dir, String bundleName) throws MalformedURLException { File file = new File(dir); URL[] urls = {file.toURI().toURL()}; ClassLoader loader = new URLClassLoader(urls); // Properties file name = test.properties. The .properties extension is appended to bundle name return ResourceBundle.getBundle(bundleName, Locale.getDefault(), loader); } gist.gi..
절대경로 this.getClass().getResource("").getPath(); // 현재 자신의 절대 경로 this.getClass().getResource("/").getPath(); // classes 폴더의 최상위 경로 this.getClass().getResource("/com/test/config/config.properties").getPath(); // classes 폴더에서부터 시작하여 해당파일까지의 절대 경로 현재 클래스가 상속되는(부모) 클래스라면 클래스명.class.getResource 로 해야 한다. getClass()는 실행되는 현재 자신(자식클래스가 될 수 있음)을 가리키기 때문이다. WEB의 절대경로와 다르다.. new File("").getAbsolutePath() :..