Does tomcat compile servlets automatically?
- by user331633
When we modify a JSP , we can just overwrite the jsp and tomcat autmatically recompile the servelt asociated to it ,
but if we want to modify a servlet is enough to modify the .java or we need to deploy the .class too? ( I mean is tomcat capable of compiling the .java into a .class if a .clss is not found or is outdated)
The question is if just deploying the .java from svn to the server and restarting tomcat imply that tomcat compile the .java in a .class or we need to deploy the .class too ( and having it in svn too)