Version 6

    Setting the context of a web application

    The context of a war defaults to the name of the war less the '.war' suffix. To change the context the web app is deployed under, you can simply rename your war. You can also override the default by using a context-root element in the war WEB-INF/jboss-web.xml descriptor:




    This says that the web application will be available under http://www.somesite/thectx/



    To install a war under the root (/) context, see SetupARootContextApp.