Liberty中应用的contextroot

参考:http://www-01.ibm.com/support/knowledgecenter/api/content/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/twlp_dep_war.html?locale=en

Liberty中应用的contextroot决定于以下几个地方指定的值

The context-root attribute specifies the entry point of the deployed application. The entry point of a deployed application is determined in the following precedence:

  • context-root in the server.xml file
  • application.xml, if an EAR application
  • ibm-web-ext.xml, if a web application
  • name of the application in the server.xml file, if a web application
  • Manifest.MF, if a WAB application
  • Directory name or the file name relative to the "dropins" directory of the Liberty profile
原文地址:https://www.cnblogs.com/yoyogis/p/4944325.html