dcsimg

Does Tomcat 3.1 support Java Servlet API 2.0 specifications? The documentations refers to API 2.2, but is it downward compatible?

Stefan Tryggvason

Tomcat 3.1 supports the servlet API 2.2. Certain methods including the getServlet, getServlets and getServletNames methods of ServletContext have been deprecated since 2.0. The ServletContext methods above, while still available, no longer return anything useful. There are a few other differences too.