Last active
March 10, 2019 12:14
-
-
Save ezhov-da/32e54bf31c0b81432cb9f9627c8ae2bc to your computer and use it in GitHub Desktop.
изменение корневого приложения
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/questions/32241906/how-to-deploy-war-file-in-root-context-to-wildfly-ver-9-0-1 | |
To override the welcome webapp with Wildfly, you need to create a jboss-web.xml in the WEB-INF of your webapp with this content: | |
<jboss-web> | |
<context-root>/</context-root> | |
</jboss-web> | |
But if you try to access to the root directory (e.g. http://localhost:8080/) you will still have the default welcome content. To remove it, you just need to rename the directory welcome-content in the Wildfly directory. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment