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

3 comments
Comment actions Permalink

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

0
Comment actions Permalink

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.

0
Comment actions Permalink

OK, good point, thanks

0

Please sign in to leave a comment.