공부
[Java] resource
승가비
2022. 1. 10. 18:31
728x90
URL sqlScriptUrl = MyServletContextListener.class
.getClassLoader().getResource("sql/script.sql");
https://stackoverflow.com/questions/19414453/how-to-get-resources-directory-path-programmatically
How to get resources directory path programmatically
I have the following directory layout: src main java resources sql (scripts for database) spring (configuration) webapp Within a ServletContextListener cl...
stackoverflow.com
728x90