title: How to set a parameter for a Java Web application
body: <p>I have a web app in Java, which uses some external program (invokes a command line tool).</p>
  
  <p>I want to make the path of the command line program configurable, so that I can change it without re-building my application.</p>
  
  <p>Questions:</p>
  
  <p>1) Which exactly parameter should I use (out of those available in web.xml), if it is set only once (at deployment) and thereafter never changes?</p>
  
  <p>2) How can I access this parameter inside my Java code?</p>
  
  <p>Thanks in advance</p>
  
  <p>Dmitri</p>