title: How to define Context Path in Wildfly?
body: <p>I've used the following code to set the Context Path in tomcat where I can access my application directly using <code>localhost:8080</code> by overriding the tomcat's default path.</p>
  
  <pre><code>&lt;Context path="" docBase="G:\bitbucket\projectpath\project\build\libs\project-1.0" workDir="G:\bitbucket\projectpath\project\build\libs\project-1.0\work"  debug="0" reloadable="false" autoDeploy="true" unpackWARs="true" crossContext="true"/&gt;
  </code></pre>
  
  <p>Now I'm going to use wildfly-8.2.0 as runtime environment. I tried by directly pasting the .war file into <code>G:\wildfly-8.2.0.Final\standalone\deployments</code> and I can access my project in browser like <code>localhost:8080/project-1.0</code>.</p>
  
  <p>I need to setup the same configuration to wildfly like I've done in tomcat to access my project in <code>localhost:8080</code> by overriding the wildfly's default welcome page. I tried to do the same in wildfly but I'm stuck where to do that. There are lot of .xml files in wildfly folder (when comparing with tomcat's simple server.xml file) which I get confused on where to start with. I searched using "How to set Context Path in Wildfly", but got no success. Can anyone help me on how to do it..? If it's related to coding, then I can do lot of searches and atleast I can get some Ideas, but I'm stuck here at configuration. Thanks in Advance.</p>