How to find the path of webapps directory using java

NoNaMe

Is there some way to find the path of tomcat's webapps directory using java, as we use System.getProperties("...") to get user.dir etc

thanks in advance.

Dark Knight

You can use System.getProperty( "catalina.base" ) for same. And add "/webapps" to path.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to find the path of webapps directory using java

From Dev

How to find mpicc and mpicxx in specific directory using find_path?

From Dev

How to find a specific folder in its super directory of a given path using java

From Dev

How to find a specific folder in its super directory of a given path using java

From Dev

How to find a partial directory path?

From Dev

How to find pictures in directory with directory path

From Dev

How to find path to java?

From Dev

Is there a way to find directory path using regex on cmake?

From Dev

How do you find the path of a directory?

From Dev

find path directory in sub directory

From Dev

Java webapps - why is index.html displayed when visiting a webapps root directory?

From Dev

How to get the absolute path for the resources directory in Java?

From Dev

How to get the execution directory path in java

From Dev

How to identify whether a given path is either file or directory in Java without using package?

From Dev

How do I find the path to the home directory for Linux?

From Dev

How do I find the current path (directory) of a MS Access database?

From Dev

How to find the path of files in a directory from a column of a CSV (PYTHON)

From Dev

How can I find the first missing directory in a long path?

From Dev

How do I find and sort a directory by the longest file path?

From Dev

How to find and use the correct path for Directory.GetFiles?

From Dev

How to find the directory of an executable using a batch file

From Dev

How to find directory in directory?

From Dev

how to find the path of file created using FileOutputStream

From Dev

How to find an exe in $PATH using Boost

From Dev

Makefile path directory using ~/

From Dev

How to find Chrome download path in Java

From Dev

Ignore directory path in find (in shell)

From Dev

Intellij - Find path to src directory

From Dev

How do I find path using 2d array maze in java

Related Related

  1. 1

    How to find the path of webapps directory using java

  2. 2

    How to find mpicc and mpicxx in specific directory using find_path?

  3. 3

    How to find a specific folder in its super directory of a given path using java

  4. 4

    How to find a specific folder in its super directory of a given path using java

  5. 5

    How to find a partial directory path?

  6. 6

    How to find pictures in directory with directory path

  7. 7

    How to find path to java?

  8. 8

    Is there a way to find directory path using regex on cmake?

  9. 9

    How do you find the path of a directory?

  10. 10

    find path directory in sub directory

  11. 11

    Java webapps - why is index.html displayed when visiting a webapps root directory?

  12. 12

    How to get the absolute path for the resources directory in Java?

  13. 13

    How to get the execution directory path in java

  14. 14

    How to identify whether a given path is either file or directory in Java without using package?

  15. 15

    How do I find the path to the home directory for Linux?

  16. 16

    How do I find the current path (directory) of a MS Access database?

  17. 17

    How to find the path of files in a directory from a column of a CSV (PYTHON)

  18. 18

    How can I find the first missing directory in a long path?

  19. 19

    How do I find and sort a directory by the longest file path?

  20. 20

    How to find and use the correct path for Directory.GetFiles?

  21. 21

    How to find the directory of an executable using a batch file

  22. 22

    How to find directory in directory?

  23. 23

    how to find the path of file created using FileOutputStream

  24. 24

    How to find an exe in $PATH using Boost

  25. 25

    Makefile path directory using ~/

  26. 26

    How to find Chrome download path in Java

  27. 27

    Ignore directory path in find (in shell)

  28. 28

    Intellij - Find path to src directory

  29. 29

    How do I find path using 2d array maze in java

HotTag

Archive