| A class to determine the current Servlet API version number, and the
current JDK version number. It looks at the available classes and
variables to make the determination. The class can detect Servlet
API versions up to 2.2, and JDK versions up to 1.3.
It can be used like this:
String servletVersion = VersionDetector.getServletVersion();
String javaVersion = VersionDetector.getJavaVersion();
author: Jason Hunter, Copyright © 2000 version: 1.2, 2001/04/11, added detection of JDK 1.4 version: 1.1, 2000/09/22, added detection of Servlet API 2.3 version: 1.0, 2000/02/08
|