java - What are the functions of "context root" and "content directory" in Eclipse?
怪我咯
怪我咯 2017-07-05 10:02:13
0
2
1837

What are the functions of "context root" and "content directory" in Eclipse? Is
used by tomcat?

is used there

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all (2)
为情所困

root represents: "localhost:xxx" is the project that accesses /tomcat/webapps/root/

Directory representative: "localhost:xxx/XXX" is the project that accesses /tomcat/webapps/XXX

    曾经蜡笔没有小新

    Context root: compiled project name. Corresponds to Display-name.
    Content directory: Project file root directory. Store the root of directories such as html/jsp/images. When accessing http://caiyongji.com/index.html, the corresponding access is to index.html under the Content directory, which means that the Content directory is the root of the website.

    can beunderstood in a narrow sense as:

    URL: ContextRoot/ContentDirectory/index.html

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!