how to set working dir when launch tomcat
hi folks
as i know when launch java application in intellij, can specify the working dir.
so now i'd like to launch a web application with tomcat server, but not found a way to specify the working dir, could you give me some hint?
thanks
Please sign in to leave a comment.
Why? What is it that you are trying to achieve?
IMHO an application running in a container does not logically even have the concept of a "current working directory".
IntelliJ IDEA just uses the standard Tomcat startup script. If you want to change the working directory, you can do it in the startup script.
OK, good point, thanks