Tomcat and Servlets

Ross Werner ross at
Fri Mar 17 19:35:46 MST 2006

With Tomcat, if you just drop a *.jsp file into webapps/ROOT and point  
your web browser to http://localhost:8080/foo.jsp, Tomcat automatically  
compiles the jsp file and does all the magic needed to run it and return  
the output.

With other web servers (like NetForge, for example) you can do the same  
thing with servlets--with NetForge, simply compile a *.class and drop it  
into servlet/ and if you point your browser to http://localhost:8080/Foo,  
it will run servlet/Foo.class.

Is there a way to do this with Tomcat without having to monkey around in  
XML files for every servlet class? i.e. some configuration option that  
will make every *.class file in a particular directory map to its class  

Thanks (hope this makes sense),
	~ Ross

More information about the PLUG mailing list