WEB-INF在Java EE Web应用程序中代表什么?

问题描述:

互联网上的大多数地方都说它代表 WEB INF ormation。

Most of the places on the internet say it stands for WEB INFormation.

我很怀疑它。该文件夹包含可执行文件。 信息不适合它。

I rather doubt it. The folder contains executables. Information is not a suitable name for it.

据我所知,INF正如你所说,代表信息。它可能被命名为 WEB-INF ,与JAR文件中的 META-INF 目录相似。有时,目录的含义随着时间的推移会发生很大变化,以至于它不再有意义。例如,Unix / Linux中的 bin 目录通常包含非二进制可执行文件,例如shell脚本。

As far as I know, "INF" stands for "Information", as you said. It probably was named WEB-INF for similarity with the META-INF directory in JAR files. Sometimes the meaning of a directory changes so much over time that it no longer makes sense. For example, bin directories in Unix/Linux often contain non-binary "executable" files, such as shell scripts.