I have a project structure like the below:
I want to get the path of web-servlet-embedded to set tomcat. by when I use new File("src/main/webapp").getAbsolutePath(); I get the path of parent JavaTutorial which result like picture show. How do I get the path of web-servlet-embedded instead of JavaTutorial?
Thanks :)
CodePudding user response:

