try{ System.out.println(this.getClass().getResource("/").toURI().toString()); System.out.println(this.getClass().getResource(".").toURI().toString()); }catch(Exception e){ e.printStackTrace(); }
file:/C:/Users/test/workspace/p1/WebContent/WEB-INF/classes/ file:/C:/Users/test/workspace/p1/WebContent/WEB-INF/classes/org/test/example/
Replies: