The Apache Software Foundation's Jakarta-Tomcat project for Java servlets and JSPs is available at https://jakarta.apache.org/. From that URL, you can download source code, binaries and documentation, as well as installation instructions and tips for improving performance.
The recently released Java Server Pages, written by Hans Bergsten and published by O'Reilly and Associates, is a terrific resource for those wanting to write Java Server pages.