*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 60740
    
  65

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet-api.jar: Where to get the source code from?
 
Similar Threads
i want the source code of servlet where to get it?
HttpSessionEvent.class is a pre-defined class or what?
error in the source file
Eclipse + Tomcat + JSP's on the Mac
Where to find javax.servlet.jsp package?