ant - How to run tomcat with -D system property for doc -
in tomcat config have docbase this:
<context path="/" docbase="webapps/rootexample"/>
is possible provide docbase property @ runtime @ tomcat startup external properties file or -d system property?
system properties global entire jvm, answer no.
what provide <context-param>
in web.xml
similar thing.
another alternative use jndi each webapp has sort of mechanism of checking configuration setting in there.
Comments
Post a Comment