Myeclipse of Java Web project meaning of "/"

/ Meanings:

  in a web.xml /: Representative Project root directory (i.e., / <url-pattern> in)
corresponds to: http: // localhost: 8080 / project name /
 B / JSP in:   Representative root server ( i.e. a form or a hyperlink request servlet class)
is equivalent to: http: // localhost: 8080 /

myeclipse in the root directory of Java Web project:

There are two root directory, a is the WebRoot, another is to construct a path (e.g., the src), are the same level.

Also you can right-click in the project, create a Source Folder, the folder belong to the build path, and src same level, also called the root directory.

Published 20 original articles · won praise 2 · Views 1602

Guess you like

Origin blog.csdn.net/weixin_42132733/article/details/104710547