I've used the following code to set the Context Path in tomcat where I can access my application directly using localhost:8080
by overriding the tomcat's default path.
<Context path="" docBase="G:itbucketprojectpathprojectuildlibsproject-1.0" workDir="G:itbucketprojectpathprojectuildlibsproject-1.0work" debug="0" reloadable="false" autoDeploy="true" unpackWARs="true" crossContext="true"/>
Now I'm going to use wildfly-8.2.0 as runtime environment. I tried by directly pasting the .war file into G:wildfly-8.2.0.Finalstandalonedeployments
and I can access my project in browser like localhost:8080/project-1.0
.
I need to setup the same configuration to wildfly like I've done in tomcat to access my project in localhost:8080
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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…