본문 바로가기

opendaylight hello 프로젝트 시작 하기 1 Eclipse IDE을 이용하여 opendaylight hello Maven Project을 생성하는 방법new -> Maven Project 선택Configure -> Add Remote Catalog Catalog 경로 입력Catalog File https://nexus.opendaylight.org/content/repositories/opendaylight.release/archetype-catalog.xml or https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/archetype-catalog.xmlDescription : opendaylight release필자는 Boron 버전으로 프로젝트를 생성 하였지만, 원.. 더보기
character to be escaped is missing File.separator 은 해당 파일시스템에서 사용되는 경로 구분자를 리턴 하게 되어 있습니다. 윈도우에서는 \(백슬러시)을 리턴 하므로 주의가 필요 합니다. Java 에서는 \ 문자는 이스케이프 문자 이므로 아래와 같이 사용시 에러가 발생 될 수 있습니다. String test = "\\";test.replaceAll("\\\\", File.separator); character to be escaped is missing 에러 발생 해결 방안은 Matcher.quoteReplacement(File.separator) 형식으로 사용하면 에러를 방지 할 수 있습니다. 더보기
싱글톤 클래스 생성 팁 1. LazyHolder public class Singleton { private Singleton() {} public static Singleton getInstance() { return LazyHolder.INSTANCE; } private static class LazyHolder { private static final Singleton INSTANCE = new Singleton(); } } 자세한 내용은 아래 출처에서 확인 하세요. [출처] https://medium.com/@joongwon/multi-thread-환경에서의-올바른-singleton-578d9511fd42 더보기
http <-> https 세션 공유 web.xml httpsFilter com.nc.rsd.web.util.https.HttpsFilter httpsFilter /* HttpsFilter 작성public class HttpsFilter implements Filter {public void doFilter(ServletRequest request, ServletResponse response,FilterChain chain) throws IOException, ServletException {HttpsRequestWrapper httpsRequest = new HttpsRequestWrapper((HttpServletRequest) request);httpsRequest.setResponse((HttpServletResponse) resp.. 더보기
only coin 카드 통합 카드 크기의 단말기에 여러 카드를 입력해서 하나로 사용한다는 거 같은데요 아이디어랑 기술이 괜찮은듯 하네요 https://onlycoin.com/?referral=vtp50wh7 더보기