Re: 'Parametrizing' context.xml?

2011-04-15 Thread pzwedhhs
Ok, adding a line in catalina.properties seems to set the value at least. It appears, when I call System.getProperties() inside the Java code. However, I still could not find out, how to access the variable in context.xml. Laicreparc_ wrote: > > Ok, I have added the line > > DBVAL=mydb_dev >

Re: ${user.home} and other server.xml tags accepted by Tomcat?

2011-04-15 Thread pzwedhhs
I have successfully managed to set a (not predefined) variable in catalina.properties by adding the line dbconf=mydb. When I call System.getProperties in the code of the web application, this variable appears. However, I would like to access this variable in context.xml inside the web application.