Heim  >  Fragen und Antworten  >  Hauptteil

java - Welche Funktionen haben „Kontextstammverzeichnis“ und „Inhaltsverzeichnis“ in Eclipse?

Was sind die Funktionen von „Kontextstammverzeichnis“ und „Inhaltsverzeichnis“ in Eclipse?
Wird es von Tomcat verwendet?

wird dort verwendet

怪我咯怪我咯2662 Tage vor1917

Antworte allen(2)Ich werde antworten

  • 为情所困

    为情所困2017-07-05 10:04:13

    root代表:"localhost:xxx"就是访问/tomcat/webapps/root/的项目

    目录代表:"localhost:xxx/XXX"就是访问/tomcat/webapps/XXX的项目

    Antwort
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-07-05 10:04:13

    Context root: 编译后项目名称。对应Display-name。
    Content directory:项目文件根目录。存放html/jsp/images等目录的根。当访问http://caiyongji.com/index.html 时对应访问Content directory下index.html,也就是说Content directory是网站的根。

    可以狭义理解为:

    URL: ContextRoot/ContentDirectory/index.html

    Antwort
    0
  • StornierenAntwort