File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Servlet API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet API" Watch "Servlet API" New topic

Servlet API

Swati Kadam
Ranch Hand

Joined: Mar 05, 2008
Posts: 39
where can I find servlet API?

SCJP / Preparing For SCWCD
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39529
Are you looking for the javadocs or the specification?

Ping & DNS - updated with new look and Ping home screen widget
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

you can find the common servlet solution in the Servlets FAQ!

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
litra eros andrei

Joined: Feb 29, 2008
Posts: 3
If you want the sources for Servlet API, you shuld go to and download the Source Code Distributions. Tomcat versions came along with a certain version of Servlet API and JSP Spec
Servlet/JSP Spec Apache Tomcat version
2.5/2.1 6.0.x
2.4/2.0 5.5.x
2.3/1.2 4.1.x
2.2/1.1 3.3.x (archived)
so download the sources for your tomcat implementation and you'll be able to see or debug in the javax.servlet.* classes as well.
pravin kantipudi

Joined: Mar 23, 2008
Posts: 5
[Edit: not-so-nice response removed]
[ March 23, 2008: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60041

pravin kantipudi , one of the most important rules on JavaRanch is "be nice". Please be sure to adhere to that rule.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Servlet API
Similar Threads
High Level and Low Level API
Problem with doGet and doPost methods
Extracting Query String from URL
Where to find javax.servlet.jsp package?
Can servlet get information of the Server?