• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
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
 
Marshal
Posts: 67418
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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.
 
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.
 
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic