WEB-INF在Java EE Web应用程序中代表什么? [英] What does WEB-INF stand for in a Java EE web application?

查看:212
本文介绍了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.

这篇关于WEB-INF在Java EE Web应用程序中代表什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆