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

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -