emotional developer/detect-Java 썸네일형 리스트형 maven Reactor Options http://blog.sonatype.com/2009/10/maven-tips-and-tricks-advanced-reactor-options/#.VvOjDvmLRaQhttps://books.sonatype.com/mvnref-book/reference/_using_advanced_reactor_options.htmlhttp://blog.akquinet.de/2010/05/26/mastering-the-maven-command-line-%E2%80%93-reactor-options/ Starting with the Maven 2.1 release, there are new Maven command line options which allow you to manipulate the way that Mave.. 더보기 httpclient cookie 설정. http://stackoverflow.com/questions/874903/how-can-i-force-javas-httpclient-to-accept-invalid-cookies HttpClient client = new HttpClient(); client.getParams().setParameter("http.protocol.single-cookie-header", true); client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY); http://stackoverflow.com/questions/7459279/httpclient-warning-cookie-rejected-illegal-domain-attribute You can.. 더보기 spring 4.1 JSONP support https://spring.io/blog/2014/07/28/spring-framework-4-1-spring-mvc-improvements JSONP is now supported with Jackson. For response body methods declare an @ControllerAdvice as shown below. For View-based rendering simply configure the JSONP query parameter name(s) on MappingJackson2JsonView.@ControllerAdvice private static class JsonpAdvice extends AbstractJsonpResponseBodyAdvice { public JsonpAdv.. 더보기 slf4j multiple bindings error http://stackoverflow.com/questions/19656496/multiple-slf4j-bindings-cause-error slf4j 를 이용한 로깅을 한다면. 로깅 구현체 di 에 주의 해야 한다. 나도 모르게 두개 이상의 로깅 구현체가 있다면, slf4j는 내가 선택한 로깅구현체를 이용 하지 않을 가능성이 있다.이런 경우는 di 들의 모든 참조여부를 확인 할수 밖에 없지만, 친절하게도 slf4 에러 로깅에 친절하게 정보가 나와 있다. 더보기 [spring] basePackages vs basePackageClasses http://stackoverflow.com/questions/24130166/componentscan-basepackageclasses-vs-componentscan-basepackages-to-register-a-sin The full javadoc for that attribute readsType-safe alternative to basePackages() for specifying the packages to scan for annotated components. The package of each class specified will be scanned.Consider creating a special no-op marker class or interface in each package th.. 더보기 [spring] device detction interceptor - DeviceResolverHandlerInterceptor http://docs.spring.io/spring-mobile/docs/current/reference/html/device.html 유용햇!DeviceResolverHandlerInterceptorSpring Mobile ships with a HandlerInterceptor that, on preHandle, delegates to a DeviceResolver. The resolved Device is indexed under a request attribute named 'currentDevice', making it available to handlers throughout request processing.To enable, add the DeviceResolverHandlerInterce.. 더보기 [spring] WebMvcConfigurerAdapter vs WebMvcConfigurationSupport http://stackoverflow.com/questions/17898606/difference-between-webmvcconfigurationsupport-and-webmvcconfigureradapterhttp://docs.spring.io/autorepo/docs/spring/4.0.5.BUILD-SNAPSHOT/javadoc-api/org/springframework/web/servlet/config/annotation/EnableWebMvc.html javacongif 스타일로 sping mvc 설정을 할때. 두 구현체의 사용성격에 대한 이야기. 개인적으로 정리를 하자면, 커스텀하게 구현 - WebMvcConfigurationSupport기본설정으로 구현 - WebMvcConfigurerAd.. 더보기 string.format 성능. http://stackoverflow.com/questions/12786902/performance-javas-string-format The results follow (Java 1.6.0_26-b03, Ubuntu, 32 bits): 누군가 친절하게 만든 차트! 더보기 이전 1 2 3 4 5 6 ··· 10 다음