카테고리 없음

getResource.getPath() 에 %20 나오는 문제

개소왕 2020. 3. 11. 16:27

https://stackoverflow.com/questions/6164448/convert-url-to-normal-windows-filename-java

 

 

다음과 같이 수정

getResource("").toURI().getSchemeSpecificPart();

 

저작자표시 비영리 변경금지 (새창열림)