title: Deploy tomcat webapp with different web.xml
body: <p>Is there a way of deploying a tomcat webapp with different web.xml (different name and context)?.</p>
  
  <p>The problem: </p>
  
  <p>I have a web.xml which i constantly have to modify (comment out and uncomment) stuff as i develop things - and this makes it a little annoying. Want i want to have is lets say two files:</p>
  
  <pre><code>web.xml
  web-dev.xml
  </code></pre>
  
  <p>And I want my tomcat on my local machine to use web-dev.xml. Ofcouse for production release (i.e. Hosted server Tomcat will be using normal web.xml - web-dev.xml won't even be published). Its just for the development. </p>
  
  <p>Any ideas where i can specify within tomcat to use web-dev.xml instead of web.xml ?</p>
  
  <p>Thanks</p>