title: Servlet-spec: <context-param> vs <env-entry> in web.xml?
body: <p>Why does the <a href="https://jcp.org/en/jsr/detail?id=369" rel="nofollow">Servlet specification</a> define two distinct ways (context parameters and environment entries) to provide a web application with configuration parameters?</p>
  
  <p>What are the respective advantages of these approaches (when should which be preferred)?</p>