Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Robert Gorn
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Tomcat site will show you what each version of Tomcat supports.

It also houses the source files.
 
Kartik Rao
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat 6.0 implements servlet 2.5 and JSP 2.1

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

Cheers
 
Robert Gorn
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much -- solved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic