my dog learned polymorphism*
The moose likes Tomcat and the fly likes servlet-api.jar: Where to get the source code from? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "servlet-api.jar: Where to get the source code from?" Watch "servlet-api.jar: Where to get the source code from?" New topic
Author

servlet-api.jar: Where to get the source code from?

Robert Gorn
Greenhorn

Joined: Jan 10, 2007
Posts: 15
I'm getting started with using Servlets and JSPs.

In $TOMCAT_HOME/lib, I found servlet-api.jar and jsp-api.jar. Some questions:

- Do these represent the latest Servlet API 2.5 (Tomcat version is 6.0.18)? Are they representative, or should I try to get them from Sun (I didn't find anything appropriate at Sun's website, or within my local Glassfish folder ...).

- Also, I'd like to have the matching source code (or, at least, API docs) in order to enhance programming within the IDE. Where to get it from?

Thank you, Robert
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61239
    
  66

The Tomcat site will show you what each version of Tomcat supports.

It also houses the source files.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Kartik Rao
Greenhorn

Joined: Nov 04, 2008
Posts: 3
Tomcat 6.0 implements servlet 2.5 and JSP 2.1

You can download a "Source Code" distribution of tomcat 6 from apache.

Cheers


CSM, SCJP, SCJD (In Progress...)
Robert Gorn
Greenhorn

Joined: Jan 10, 2007
Posts: 15
Thanks very much -- solved.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: servlet-api.jar: Where to get the source code from?