You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jim Urban <ji...@netsteps.net> on 2000/06/19 19:58:45 UTC

Adding Servlet .class Files On The Fly

We installed Tomcat and Apache on our NT web server.  We are starting a
project that will be developed by several developers.  Each will create
several Servlets.  The coding and testing of each Servlet will be done by
the developer on his own work station.  When a developer feels a Servlet is
ready for system integration and testing, the .class file will be copied to
the project/web-inf/classes directory.  How do we get Tomcat to run these
new Servlets?  There will be no source (.java) code on the web server.  No
Ant, no CVS, just compiled Java binaries.  New Servlets, completed ones
along with prototype and proof of concept Servlets need to be added on the
fly.  Since multiple people are using the web server, we can't shut down
Tomcat every time someone wants to add a new Servlet.  I tried adding a new
.class file to the examples/web-inf/classes directory, but when I tried to
run it I got a 400 (page not found), let I can run the other examples.

Thanks!