JBoss 7: how to change a WAR context root

前端 未结 2 1953
南笙
南笙 2020-12-31 14:46

I have an application that is to be deployed in a WAR file (app.war). After deployment it is available from http://:8080/app I would like to have it being made available

2条回答
  •  半阙折子戏
    2020-12-31 15:09

    this works in AS 7.0.1, WEB-INF/jboss-web.xml

    
    
        /my_custom_root
    
    

    I don't think it is possible to have app root like "server/something/app", but you can simulate this behavior through application structure

提交回复
热议问题