일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- jsr380
- jsr303
- 이렇게살아야되나자괴감이
- i18n
- 개미수열
- 지수반등
- 리얼월드HTTP
- 지뢰찾기
- Kotlin
- kotliln
- 워드프레스
- 브로틀리
- 클래스레벨밸리데이션
- 랜선아미안해
- brotli
- LastModified
- 알게뭐냐
- 알고리즘
- etag
- HTTP
- cross parameter
- Spring
- 스프링
- cache-control
- 코드스피츠
- Today
- Total
목록2018/12 (6)
취미개발 블로그와 마음수양
ㅔ 페이스북 글 가져옴 ] 정적자원관리에는 캐시와 버져닝을 으레 사용하기 마련인데, 이게 그냥 단순히 파일 우측에 ?v=버젼을 사용하는 전략을 사용하기도 하고 아예 /버젼폴더명/정적파일명 이렇게 가기도 하는 듯한데.. http://www.mscharhag.com/…/resource-versioning-with-spring-… 요렇게 파일명을 자동으로 변경&인식 해주는 마법의 방법도 있다고 하니.. 스프링 부트 문서도 좀 덩달아보면.. http://docs.spring.io/…/boot-features-developing-web-applic…스프링부트는 좀 더 쉽게해놨는데.. 요 두줄이지.. 아마 paths는 /**저게 기본값인것같은데..정적 파일들 경로로 수정해줘야 PathResourceResolver가..
https://stackoverflow.com/questions/30788105/spring-security-hasrole-not-working 음.. 문제 : thymeleaf 에 sec:auth 어쩌고 관련 태그를 하려니 잘 안됐다. 위의 링크 스택오버 플로에 의하면 @Bean public SpringTemplateEngine templateEngine() { SpringTemplateEngine templateEngine = new SpringTemplateEngine(); templateEngine.setTemplateResolver(templateResolver()); templateEngine.addDialect(new SpringSecurityDialect()); return template..
로봇 코딩 https://post.naver.com/viewer/postView.nhn?volumeNo=7493170&memberNo=30786399
참고 https://qkrrudtjr954.github.io/java/2017/11/13/file-write.htmlhttp://woowabros.github.io/experience/2017/10/17/java-serialize.html @Test public void objectStreamTest() throws Exception{ List timeInfoList = repository.findAllByOrderByDateTimeAsc(); byte[] serializedMember; try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { try (ObjectOutputStream oos = new ObjectOutputStream(baos..
https://stackoverflow.com/questions/17331448/spring-handlermethodargumentresolver-not-executing/19847526 여기를 참고하면 된다. 왜 그랬던걸까 음 수정 ==> spring boot 2.0 버젼에서 enableWebMvc 와 configuration을 같이 써주면 된다. private @Inject RequestMappingHandlerAdapter adapter; @PostConstruct public void prioritizeCustomArgumentMethodHandlers () { List argumentResolvers = new ArrayList (adapter.getArgumentResolvers ()); Li..