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.
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.
Comments