简体   繁体   English

sun jdk源码为什么不包含javax.servlet package?

[英]Why does the sun jdk source code not contain the javax.servlet package?

I tried to find the source code of the javax.servlet package in the jdk source code, but it seems the jdk doesn't contains the package.我试图在jdk源代码中找到javax.servlet package的源代码,但似乎jdk不包含package。 Where can I download the package?我在哪里可以下载 package?

Why the sun jdk source code dose not contains the javax.servlet package?为什么 sun jdk 源代码不包含 javax.servlet package?

Because it is part of Java EE, not Java SE.因为它是 Java EE 的一部分,而不是 Java SE 的一部分。

where can I download the package?我在哪里可以下载 package?

The JARs are part of your Java EE platform; JARs 是 Java EE 平台的一部分; eg Tomcat, JBoss, Glassfish, etc.例如 Tomcat、JBoss、Glassfish 等。

If you need a peek at what the source itself would look like here [1] are the sources for javax.servlet in Apache Geronimo and [2] for glass fish.如果您需要在这里查看源本身的样子 [1] 是 Apache Geronimo 中 javax.servlet 的源和玻璃鱼的 [2]。

[1] http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/ [2] http://svn-mirror.glassfish.org/glassfish-svn/branches/BuildDeploymentTest/web/javax.servlet/ [1] http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/ [2] http://svn-mirror.glassfish.org/glassfish- svn/branches/BuildDeploymentTest/web/javax.servlet/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM