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
Joined: Jan 30, 2000
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.
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD
Joined: Sep 19, 2001
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.
Joined: Aug 20, 2001
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.