Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

java

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. Where can I download the package?

like image 385
Danyun Liu Avatar asked Feb 03 '23 17:02

Danyun Liu


1 Answers

Why the sun jdk source code dose not contains the javax.servlet package?

Because it is part of Java EE, not Java SE.

where can I download the package?

The JARs are part of your Java EE platform; e.g. Tomcat, JBoss, Glassfish, etc.

like image 102
Stephen C Avatar answered Feb 05 '23 08:02

Stephen C