Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Clarify me please

 
Bal Sharma
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am kinda confuse. Servlet and JSP Specification. Are not they same as JAVADOC that describe javax.servlet, javax.servlet.http, javax.servlet.jsp, and javax.servlet.jsp.tagext? I see lot of people are giving link to Tomcat web page for these API. I downloaded but does not come through. If JavaDoc is the specification it is already included in TOmcat4.0 under /webapps/tomcat-docs. If it is not please clarify me, I will appriciate any response. Thanks. BK
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I checked my Tomcat installation and it doesn't have the JAVADOC for the Servlet 2.3/JSP 1.2 info.
That's to be expected since Sun already has it on their site. And that's the one I have installed on my PC.
And no, the JAVADOC is NOT the same as the specs. Of course they are related; they talk about the same thing using different language and format.
 
Bal Sharma
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your response. Still I am not clear. Could you please tell me what does it cover that is under servletapi? I see it in my Tomcat installation as below.
X:\Tomcat4\webapps\tomcat-docs\servletapi
If it is not specification. How to get specification. I down loaded bunch of time from Tomcat site it is not working for me.
Even I tried for PDF format does not come in good shape. BK

Originally posted by Tony Alicea:
And no, the JAVADOC is NOT the same as the specs. Of course they are related; they talk about the same thing using different language and format.

 
Tim Duncan
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bal Sharma:
Thanks for your response. Still I am not clear.

We're talking about two different types of documentation here:
(1) the JavaDoc for the javax.servlet packages, which tell you the methods and their arguments (i.e. the API), and give a brief description of their behaviour. These are HTML-based, and although they aren't packaged up with the Tomcat distribution, they are available for download at the site (and of course from Sun themselves).
(2) the specification documents, which describe in excruciating detail the required behaviour of Servlet and JSP implementations. These are large PDF or Postscript documents (eg: the JSP spec is some 250 pages). If you read these you will understand every possible nuance of JSPs/Servlets.

Where can you get them? Look here for Servlets: http://java.sun.com/products/servlet/download.html
under the section on Specifications, 2.3 - Final release, you'll see both "Specification Download" and "Download Javadoc"
Similarly JSPs (1.2 - Final release) http://java.sun.com/products/jsp/download.html
have both "Specification Download" and "Download Javadoc"


[This message has been edited by Tim Duncan (edited September 26, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic