Le 18/04/2015 à 22:16, Dominic Hargreaves a écrit : > There are some other suggestions which are probably better than moving > the whole of web.xml? > > "One option would be for Debian to use external entities for the > configurable elements and place the file that defines those entities > somewhere where users can edit it."
This sounds fine. If someone provides a patch implementing this idea I'm willing to review and apply it. > "Another option (I think) is to use the property replacement feature. I.e. > ${property.name} in web.xml and property.name=foo in catalina.properties > > The only question is if this works in web.xml which I don't recall and I don't > have easy access to the source to check. If it doesn't work we should be able > to > fix that easily." I don't think this works, the only property replacement code is in Bootstrap.java for parsing the catalina.properties file and creating the classloaders. Emmanuel Bourg