Does tomcat compile servlets automatically?
Posted
by user331633
on Stack Overflow
See other posts from Stack Overflow
or by user331633
Published on 2010-05-03T17:25:19Z
Indexed on
2010/05/03
17:28 UTC
Read the original article
Hit count: 184
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)
© Stack Overflow or respective owner