Can sone one explain why we would need to provide classpath to tomcat/commom/lib/servlet-api.jar:classes when compiling a servlet(page 81 in HF book) ? My understanding was that, while compiling all classes needed for Servlet is present in java libraries.
Try finding package "javax.servlet.*" in any Java runtime environment's rt.jar... it's not there! You need a jar from your Servlet / JSP Container containing implementation classes of the Servlet / JSP API specification to be able to compile Servlets and 'run' JSP pages...
Johan Pelgrim, The Netherlands
SCJP 1.4, SCWCD 1.4, SCBCD 5.0