download ava files, create a common java project in eclipse, and put those java files under src according to the package structure. Add lib packages that they depend on, usually just put the packages that come with tomcat. Let them be compiled into a. class file normally, and then replace the class in the corresponding lib in tomcat.
Tomcat is a core project in the Jakarta project of Apache Software Foundation, which was jointly developed by Apache, Sun and other companies and individuals. Thanks to Sun's participation and support, the latest Servlet and JSP specifications can always be reflected in Tomcat, and Tomcat 5 supports the latest Servlet 2.4 and JSP 2. specifications. Because of its advanced technology, stable performance and free of charge, Tomcat is deeply loved by Java enthusiasts and recognized by some software developers, and has become a popular Web application server at present. The latest version is 8..