How do I load a java class (not a servlet) when the tomcat server starts
Asked 2010-11-14T01:41:18.097
9
I need to continuously update and query a mysql database (and I don't think I need a servlet to do this, just a regular java class). But I don't know how to call that class or run it when the servlet starts.