10.3 中包含 javax.servlet 的 WebLogic Jar 在哪里?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1848911/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-12 23:16:54  来源:igfitidea点击:

Where is WebLogic Jar containing javax.servlet in 10.3?

javaservletsweblogicweblogic-10.x

提问by bkoch

I am trying to configure my path to include javax.servlet with WebLogic. WebLogic has split out the Jar files, so which one contains javax.servlet?

我正在尝试配置我的路径以将 javax.servlet 包含在 WebLogic 中。WebLogic 已经拆分了 Jar 文件,那么哪一个包含 javax.servlet?

采纳答案by Pascal Thivent

Starting with WebLogic 10, BEA externalized the implementation of API specs from weblogic.jarinto various "modules". They now bundle a new api.jarin {BEA_HOME}/wlsever_10.3/server/lib/that contains just a MANIFEST.MFwhich points to {BEA_HOME}/modules/*.jar.

从 WebLogic 10 开始,BEA 将 API 规范的实现具体weblogic.jar化为各种“模块”。他们现在捆绑了一个 new api.jarin {BEA_HOME}/wlsever_10.3/server/lib/,其中只包含一个MANIFEST.MF指向{BEA_HOME}/modules/*.jar.

These modules include all API specifications as well as features provided BEA/ORACLE.

这些模块包括所有 API 规范以及 BEA/ORACLE 提供的功能。

So, for Servlet API 2.5, indeed include {BEA_HOME}/modules/javax.servlet_1.0.0.0_2-5.jar.

因此,对于 Servlet API 2.5,确实包括{BEA_HOME}/modules/javax.servlet_1.0.0.0_2-5.jar.

回答by BalusC

I don't do weblogic, so I can't point the exact location, but I can at least hint that JAR files are basically ZIP files which adhere a special folder structure and have a different extension. Knowing that fact, you should be able to use any ZIP tool to your taste to open/extract them and take a look in the folder/file structure yourself. To ease the job, you can also grab WinRARwhich has a Searchfunction with which you can search for folders and files in JAR files.

我不做 weblogic,所以我不能指出确切的位置,但我至少可以暗示 JAR 文件基本上是 ZIP 文件,它们遵循特殊的文件夹结构并具有不同的扩展名。知道这一事实后,您应该能够根据自己的喜好使用任何 ZIP 工具来打开/提取它们并自己查看文件夹/文件结构。为了简化工作,您还可以获取具有搜索功能的WinRAR,您可以使用该功能搜索 JAR 文件中的文件夹和文件。

回答by bkoch

I found them. For those that need answer they are located here:
$BEA_HOME/modules/javax.servlet_1.0.0.0_2-5.jar

我找到了他们。对于那些需要答案的人,它们位于:
$BEA_HOME/modules/javax.servlet_1.0.0.0_2-5.jar